Mouth
Well-known member
Code:
Server Error Log
Error Info
Zend_Mail_Protocol_Exception: Email to <redacted>@gmail.com failed: Could not open socket - library/Zend/Mail/Protocol/Abstract.php:277
Generated By: <redacted>, Today at 06:21
Stack Trace
#0 library/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('ssl://email-smt...')
#1 library/Zend/Mail/Transport/Smtp.php(216): Zend_Mail_Protocol_Smtp->connect()
#2 library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#4 library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
[...]
Sporadically, but regularly (every few days) I get singular or many email sending errors logged in the Server Error Log. It's been happening for a while, but I'd like to see if I can eradicate it or figure out the cause.
I'm using Amazon SES for SMTP sending, have done so for a long while. Exponentially more emails are sent/delivered than fail, so I know it's not a static issue like firewall or DNS as suggested in the Email Troubleshooting Guide. I guess it could be a sporadic DNS lookup issue, but since my server's configured to use both CloudFlare's and Google's public DNS servers I doubt it.
If it's sporadic network transport connectivity issues, what could I use to determine/confirm that and review with my hosting provider? Is there more targeted or detailed XF error reporting available, that might indicate further what the issue is (eg. DNS failure, or failed to reach or get response from target server, etc.)?