Hello,
There could be several reasons why emails are not getting sent via WordPress.
Generally, emails are sent using a php script, which can sometimes be problematic.
If you switch to smtp for sending emails, this may help.
You can this plugin to activate smtp on your website:
https://en-ca.wordpress.org/plugins/wp-mail-bank/
Set it up with your gmail smtp setting and run some more tests.
If this doesn’t resolve the issue then post your results here and we can continue to troubleshoot.
Thanks, b
Jordan Q
@mitrione
WP Mail Bank will be no help to you at GoDaddy because GoDaddy blocks external access to ports 25, 465 and 587. Using the Gmail API through Postman SMTP is pretty much guaranteed to work at GoDaddy since Postman supports HTTPS as well as the standard SMTP ports.
Also, since you use Google Apps you may be required to use OAuth 2.0 which Postman supports but WP Mail Bank does not.
I changed one of the MX records to set up the gmail account which seems to be working properly
You might have done that correctly. You can copy my domain’s settings if you want, hendriks.ca, it’s also a Google Apps domain. MX, SPF and DKIM are all correct.
hendriks.ca. 3599 IN MX 1 ASPMX.L.GOOGLE.COM.
hendriks.ca. 3599 IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
hendriks.ca. 3599 IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
hendriks.ca. 3599 IN MX 10 ALT3.ASPMX.L.GOOGLE.COM.
hendriks.ca. 3599 IN MX 10 ALT4.ASPMX.L.GOOGLE.COM.
hendriks.ca. 3599 IN TXT "v=spf1 include:_spf.google.com -all"
@jordan_thegenius
I tried wp-mail-bank and a couple other similar plugins (WP SMTP, and WP mail smtp) and none of them worked. I would get a test message through before I would change the settings as suggested for gmail but once I changed the settings the test messages would not work. The contact form did not work at any point.
@jason Hendriks
I installed Postman via the wizard, the test email worked but the contact form continues to not deliver messages (even though there is a success message after the submission).
“Postman is configured.
Postman will send mail via the 🔐Gmail API using OAuth 2.0 authentication.
Postman has delivered 2 emails for you. View the log.”
Any other ideas?
Thank you guys!
Well at least you are sending mail so that’s one step closer. Post your Postman Diagnostic Data on the Postman Forum and I will help you further.
It’s probably an SPF issue. Read my blog post. WordPress emails are sent but not received.
Hey Jason,
Here is the diagnostic test. Hopefully this helps! Thank you!
OS: Linux a2plcpnl0172.prod.iad2.secureserver.net 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64 #1 SMP Fri Jun 12 15:09:02 EDT 2015 x86_64
HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Platform: PHP Linux 5.4.43 / WordPress 4.2.2 en_US
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes
WordPress Theme: SCRN
WordPress Plugins: Column Shortcodes, Contact Form 7, Contact Form by BestWebSoft, Easy Video Gallery Responsive HTML5, HTML5 Responsive FAQ, Limit Login Attempts, Postman SMTP, Go Daddy Quick Setup, Clef
Postman Version: 1.6.23
Postman Sender Domain (Envelope|Message): cliffdiving.us|cliffdiving.us
Postman Prevent Message Sender Override (Email|Name): No|No
Postman Transport URI: gmail_api:https:oauth2://www.googleapis.com:443
Postman Transport Status (Configured|Ready|Connected): Yes|Yes|Yes
Postman Deliveries (Success|Fail): 3|0
Postman Bind (Success|Fail|Path): Yes|No|/home/mitrione/public_html/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php
Postman TCP Timeout (Connection|Read): 10|60
Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128
Postman Run Mode: production
Postman PHP LogLevel: 40000
Postman Stealth Mode: No
Postman File Locking (Enabled|Temp Dir): Yes|/tmp
cliffdiving.us. 3599 IN MX 1 ASPMX.L.GOOGLE.COM.
cliffdiving.us. 3599 IN TXT "v=spf1 a mx ptr include:secureserver.net ~all"
Your domain cliffdiving.us has an incorrect SPF record. This is probably why your contact form emails are being dumped.
https://support.google.com/a/answer/178723?hl=en#
Also, your MX records are incomplete. Fix them.
https://support.google.com/a/answer/140034?hl=en
I already posted a proper example for both settings above.
@jason …. it’s working now! Thanks again!