• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Email timing out via google apps?

surfsup

Well-known member
#1
I just changed an option to use google apps for email and im getting these errors;

Code:
Error Info
Zend_Mail_Protocol_Exception: Email to marcusbarker@xtra.co.nz failed: smtp.gmail.com has timed out - library/Zend/Mail/Protocol/Abstract.php:377
Generated By: Unknown Account, 30 minutes ago
Stack Trace

#0 /home2/****/public_html/library/Zend/Mail/Protocol/Abstract.php(415): Zend_Mail_Protocol_Abstract->_receive(300)
#1 /home2/****/public_html/library/Zend/Mail/Protocol/Smtp.php(199): Zend_Mail_Protocol_Abstract->_expect(220, 300)
#2 /home2/******/public_html/library/Zend/Mail/Transport/Smtp.php(200): Zend_Mail_Protocol_Smtp->helo('localhost')
#3 /home2/*******/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 /home2/********/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home2/*****/public_html/library/XenForo/Model/MailQueue.php(79): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /home2/*******/public_html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(7.99999904633)
#7 /home2***********/public_html/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_MailQueue->execute(Array, Array, 7.99999904633, '')
#8 /home2/**********/public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999904633, '', false)
#9 /home2/**********/public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /home2/*********/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}

Request State

array(3) {
  ["url"] => string(45) "https://www.truckmountforums.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(25) "/conversations/870.67968/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete... Close
 

Mike

XenForo developer
Staff member
#2
That appears to be a timeout during the connection/setup phase. It would really just be a networking issue between your server and Gmail's (or a load issue on their end I suppose). Unfortunately there isn't really much that can be changed in XF unless you adjust the SMTP configuration to use different options (though that may not do anything).
 
#3
This happens to me too. Been talking to Google Apps folks and Xenforo about this. TLS works on Thunderbird for me for both Google Apps accounts that i tested with a representative but TLS does not on Xenforo as i get that message. Not sure if its a setting on Xenforo that's blocking it? Its not on Google App's end since i managed to validate multiple accounts on thunderbird with TLS settings. Any thoughts?

-hyper