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_">#0 /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->_assertResponseCode('', Array) [x 2]
<span class="php_<mar...',">#1 /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/EsmtpTransport.php(245): Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM: <mar...', Array, Array) [x 2]
<span class="php_<mar...',">#2 /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/EsmtpTransport.php(327): Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM: <mar...', Array) [x 2]
<span class="php_/......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php">#3 /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php(416): Swift_Transport_EsmtpTransport->_doMailFromCommand('mar in /......./modules/jrMailer/contrib/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php on line 386 [x 2]
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