Hi @howdy_mcgee,
I hope you are doing well.
Thank you for contacting us regarding the issue you are facing. Do you also encounter the same error while sending test emails? To assist you more effectively, could you please provide us with the diagnostic test report? You can access the diagnostic test report from here.
This information will help us to resolve the issue faster.
Thanks and Regards,
Support Team-WP Experts.
-
This reply was modified 5 months, 2 weeks ago by
furqanfazal.
Hello,
Below you’ll find the diagnostic test report:
Mailer: postsmtp
HostName: example.com
cURL Version: 7.29.0
OpenSSL Version: NSS/3.53.1
OS: Linux ${servername} 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
PHP: Linux 8.1.27 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.4.3 en_US UTF-8
WordPress Theme: Page Builder Framework
WordPress Plugins: Post SMTP, - ACF Dropzone (Modified), Advanced Custom Fields PRO, All In One WP Security, Classic Editor, Password Generator Field for ACF, - Website Customizations Plugin, Advanced Editor Tools, - Title Document Portal, User Role Editor, User Switching, Page Builder Framework Premium Addon
WordPress wp_mail Owner: /httpdocs/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
WordPress wp_mail_from Filter(s): SiteCustomizations\Common\Controllers\Common->change_from_email_address
WordPress wp_mail_from_name Filter(s): SiteCustomizations\Common\Controllers\Common->change_from_name
Postman: 2.8.11
Postman Sender Domain (Envelope|Message): example.com | example.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: Default (smtp:none:none://localhost:25)
Postman Active Transport Status (Ready|Connected): No | Yes
Postman Deliveries (Success|Fail): 24 | 0
When I send a test email I do see the “on behalf of”.
Additionally, I’m using the following hook to ensure that WordPress
is not in the emails:
add_filter( 'wp_mail_from', function() {
$url_parts = parse_url( home_url() );
return sprintf( 'noreply@%s', $url_parts['host'] );
} );
add_filter( 'wp_mail_from_name', function() {
return get_bloginfo( 'name' );
} );
If I disable this plugin, the filter hooks work as expected, and I do not see the “on behalf of” described in my initial post.
Hi @howdy_mcgee,
Thank you for providing us with the information. Post SMTP plugin also implements these filters. You can directly add From Email and From Name from the Post SMTP plugin Settings > Message Tab and check the issue again by removing these filters.
If the issue persists and you need more assistance, please create a ticket on our technical support channel along with the necessary details so we can replicate your case on our end.
Thanks and Regards,
Support Team-WP Experts.
Hello,
I’ve set these values in the plugin and the issue persists.
I’ve disabled my filter hooks and the issue persists.
I’ve used the WordPress Health Check & Troubleshooting tool to ensure that only Post SMTP is active, and the issue persists.
Hi @howdy_mcgee,
I tried to replicate your case on my end but no issue is found. Please create a ticket on our technical support channel So I can connect you directly with our technical team.
Looking forward to getting your issue resolved.
Thanks and Regards,
Support Team-WP Experts.