SMTP Errors with Google Apps (Gmail)
Using Jamroom
Lately i've been using PHPMail() as SMTP isn't working on JR5. But I want to use SMTP instead (less chance of the email ending up in junk)
My domain already configured in google apps (admin.google.com)
- MX Records are correct
- SPF txt record is correct
- DKIM authentication dns record is added too
I went to Jamroom -> Communication -> Email Support
- Delivery Method: SMTP
- SMTP Host: ssl:
- Port: 465
- SMTP User Name: myname@mydomain.com
- SMTP Pass: mypassword
Then i log out of admin, register on my own site as a test user.
I filled in all the details (even my personal hotmail.com account)
I clicked "Created Account".... After 2 seconds the ajax animation wheel stops, and i get a yellow error message that says:
"a system level error was encountered trying to validate the form values: error: Internal Server Error"
So I went back to jamroom admin, and changed this:
Before: SMTP Host: ssl:
After : SMTP Host: tls:
That didn't work either. So i tried this again:
Before: SMTP Host: tls:
After : SMTP Host: smtp.googlemail.com
Again, that failed.
So, to dig deeper, I went to check the php error log (jamroom/core/php_error_log) and it says this:
<span class="php_error">[02-Jan-2014 17:04:07] PHP Fatal error: Uncaught exception 'Swift_TransportException' with message 'Expected response code 250 but got code "", with message ""' in /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php:386 [x 2]
<span class="php_">Stack trace: [x 2]
<span class="php_">
<span class="php_<mar...',">
<span class="php_<mar...',">
<span class="php_/......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php">
Right now, I've reverted to using PHPMail temporarily.
I don't want to keep using phpmail because it seems to keep failing SPF checks (according to thunderbird's email headers)
Google Apps, also requires TLS/SSL connections. So it won't accept regular http connections.
So, what do you think the issue is ? & what can i do about it ?.
Thanks.
updated by @markopolo: 02/02/14 10:56:25PM