Hi,
Hope you are doing good.
There will be a line of code in the WP Config file that may be added by any other plugin. This needs to be removed and then test.
code needs to be removed.
function wp_mail() {}
Take a backup of your wp-config file then do.
If you added any new plugins recently then try to reactive it and then check.
Thanks
@haseeb0001 There’s no line of code in my wp_config file like that, it’s all the usual wp_config info nothing about wp_mail
@uriahs-victor
Okay, share the Post SMTP diagnostic test report.
Thanks
@haseeb0001 I replaced the info about the hostname but the rest of the details are directly from the report:
Mailer: postsmtp
HostName: example.com
cURL Version: 7.71.0
OpenSSL Version: OpenSSL/1.1.1p
OS: Linux serverxxx.web-hosting.com 2.6.32-954.3.5.lve1.4.89.el6.x86_64 #1 SMP Sat May 7 10:18:11 UTC 2022 x86_64
PHP: Linux 7.4.32 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.0.3 en_US UTF-8
WordPress Theme: Neve Child
WordPress Plugins: Autoptimize, Better Font Awesome, Disable WP REST API, Easy Theme and Plugin Upgrades, Elementor, If Menu - Visibility control for menus, LiteSpeed Cache, MC4WP: Mailchimp for WordPress, Menu Icons, Ninja Forms - Conditional Logic, Ninja Forms - Layout & Styles, Ninja Forms - File Uploads, Ninja Forms, Post SMTP, Redirection, Report Builder for wpDataTables, Site Specific: Alter Menu Items, Site Specific: Example Core, Site Specific: Create User Box Number, Site Specific: Ultimate Member Plugin Tasks, Timeline Widget For Elementor, Ultimate Member, Ultimate Member - reCAPTCHA, Ultimate Member - Terms & Conditions, UpdraftPlus - Backup/Restore, User Switching, Wordfence Security, Yoast SEO, WP Crontrol, WP Umbrella, wpDataTables, WP Pusher
WordPress wp_mail Owner: /home/skrarrpe/public_html/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): wordfence::fixWPMailFromAddress
WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
Postman: 2.1.10
Postman Sender Domain (Envelope|Message): example.com | example.com
Postman Prevent Message Sender Override (Email|Name): Yes | Yes
Postman Active Transport: SMTP (smtp:tls:crammd5://mail.smtp2go.com:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 12741 | 16937
Hi @uriahs-victor,
Can you recheck by deactivating Wordfence Plugin?
Thank you
We haven’t heard from you, so we’ll mark this thread resolved. Feel free to open a new one if you need it.