@joefinnerty_123,
Can you please confirm that you have checked and followed all the steps that are mentioned over here : New Post Notification Emails are not being received by Subscribers??
double checked MX records:
1 ASPMX.L.GOOGLE.COM
5 ALT1.ASPMX.L.GOOGLE.COM
5 ALT2.ASPMX.L.GOOGLE.COM
10 ASPMX2.GOOGLEMAIL.COM
10 ASPMX3.GOOGLEMAIL.COM
=============================================
shut down other plugins for conflict check
============================================
other plugins can send email successfully
============================================
tested emails directly from google account all good
===================================================
@joefinnerty_123,
Use any of the freely available SMTP plugins and then try sending emails via that and let us know if that works.
Test directly from plugin WP Mail SMTP using php mail worked.
Test directly from plugin WP Mail SMTP using SMTP errored.(See Below)
In both cases PHP MAIL/SMTP)Test from email subscribers plugin says it was sent but wasn’t.
=================================================================
2016-08-06 12:55:40 Connection: opening to localhost:25, timeout=300, options=array (
)
2016-08-06 12:55:40 Connection: opened
2016-08-06 12:55:40 SMTP -> get_lines(): $data is “”
2016-08-06 12:55:40 SMTP -> get_lines(): $str is “220-siteground327.com ESMTP #7 Sat, 06 Aug 2016 07:55:40 -0500
“
2016-08-06 12:55:40 SMTP -> get_lines(): $data is “220-siteground327.com ESMTP #7 Sat, 06 Aug 2016 07:55:40 -0500
“
2016-08-06 12:55:40 SMTP -> get_lines(): $str is “220-We do not authorize the use of this system to transport unsolicited,
“
2016-08-06 12:55:40 SMTP -> get_lines(): $data is “220-siteground327.com ESMTP #7 Sat, 06 Aug 2016 07:55:40 -0500
220-We do not authorize the use of this system to transport unsolicited,
“
2016-08-06 12:55:40 SMTP -> get_lines(): $str is “220 and/or bulk e-mail.
“
2016-08-06 12:55:40 SERVER -> CLIENT: 220-siteground327.com ESMTP #7 Sat, 06 Aug 2016 07:55:40 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
===================================================================
php mail works directly from the test page of the SMTP plugin.
smtp does not work at all.
Nothing works from the plugin, still.
setup Gmail SMTP for OAuth 2.0 mechanism for SMTP authentication
sent a test email from the Gmail plugin which was successful
sent a test email to myself from the Email Subscriber & Newsletter plugin ( this is the plugin that won’t work ) this was also successful.
sent a test from multiple addresses from from the Email Subscriber & Newsletter plugin ( this is the plugin that won’t work ) 504 gateway error. got no email from google about too many attempts.
sent another test message from the gmail plugin see below
Auth method requested: XOAUTH2
Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
CLIENT -> SERVER: AUTH XOAUTH2 dXNlcj1pbmZvQG55Y21pZHdpdmVzLm9yZwFhdXRoPUJlYXJlciB5YTI5LkNpODNBLWFYMFdXSHNEVUx0WXpDd0J0R01oVmoxZkR0M2dCV1dMYVRkVkJlWElHSWJvSk9iVldvb3R3QkZQWjBvZwEB
SMTP -> get_lines(): $data is “”
SMTP -> get_lines(): $str is “334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==”
SERVER -> CLIENT: 334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==
SMTP ERROR: AUTH command failed: 334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==
SMTP Error: Could not authenticate.
CLIENT -> SERVER: QUIT
SMTP -> get_lines(): $data is “”
SMTP -> get_lines(): $str is “454 4.7.0 Too many login attempts, please try again later. i191sm6596344itf.13 – gsmtp”
SERVER -> CLIENT: 454 4.7.0 Too many login attempts, please try again later. i191sm6596344itf.13 – gsmtp
SMTP ERROR: QUIT command failed: 454 4.7.0 Too many login attempts, please try again later. i191sm6596344itf.13 – gsmtp
Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
what happens if an email address in the list is undeliverable?
cron doesn’t seem to work either
setup:
for email plugin
0 0 * * * /bin/wget -O /dev/null https://nycmidwives.org/?es=cron&guid=kdfsxe-winrvs-syuklm-uslkbv-toayuc
0 */3 * * * /usr/local/bin/php /home/nycmidwi/public_html/wp-cron.php
wp-config
/**************************** JTF ADDED **********/
define(‘DISABLE_WP_CRON’, ‘true’);
/**************************** END JTF ADDED **********/
/**************************** JTF ADDED **********/
define(‘ALTERNATE_WP_CRON’, true);
/**************************** END JTF ADDED **********/
@joefinnerty_123,
For 504 gateway error, you would need to contact your Host Provider / System Administrator.
Also, this is a public forum. So, kindly do not put sensitive information here (example, your cron url).
cron doesn’t seem to work either
Because you have disabled cron via this line : define('DISABLE_WP_CRON', 'true');
Can you please tell us why you have used this : define('ALTERNATE_WP_CRON', true);
For further communication on this, please write to us from here.