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

XF 1.1 Another Mail Thread (Cannot Send)

taylor_smith

Well-known member
#1
XF isn't sending mail--not for conversations, not via the contact forum, etc. I SSH'd to the server and the sendmail function seems to work fine. When I test the contact form using the default Email Settings, the form is submitted successfully, but no mail ever arrives. Don't want to rebuild master data, because I've made lots of template edits.

Separately, I have also tried using Gmail's SMTP, but get this error:

Code:
Error Info
Zend_Mail_Protocol_Exception: Connection timed out - library/Zend/Mail/Protocol/Abstract.php:277
Generated By: admin, 3 minutes ago
Stack Trace
#0 /home/[directory]/public_html/[site]/library/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('ssl://smtp.gmai...')
#1 /home/[directory]/public_html/[site]/library/Zend/Mail/Transport/Smtp.php(199): Zend_Mail_Protocol_Smtp->connect()
#2 /home/[directory]/public_html/[site]/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 /home/[directory]/public_html/[site]/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#4 /home/[directory]/public_html/[site]/library/XenForo/Mail.php(177): Zend_Mail->send()
#5 /home/[directory]/public_html/[site]/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
#6 /home/[directory]/public_html/[site]/library/XenForo/ControllerPublic/Misc.php(197): XenForo_Mail->send('[contact email]', '', Array, '[user email]', 'admin')
#7 /home/[directory]/public_html/[site]/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Misc->actionContact()
#8 /home/[directory]/public_html/[site]/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/[directory]/public_html/[site]/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(36) "http://[site]/misc/contact"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["subject"] => string(4) "test"
    ["message"] => string(4) "test"
    ["_xfToken"] => string(53) "5,1357309405,9df980a8d342110d4516d9e4594023145fccf680"
    ["_xfRequestUri"] => string(1) "/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Delete...Close
I'd updated the conversation file to change the from email (per these instructions), but even after restoring the original file, the issues continue.