Hello,
I just switched to xenforor cms, everything is perfect, but SMTP is not working.
I tried all SMTP hosts, gmail/yandex/cPanel and some other. All credentials are ok, smpt details are correct but outbound email test respond:
Server error log
Stack trace
Request state
PHPMail is working, but that doesn't matter because all mails are non-signature with phpmail.
I have working spf/dkim and 100% inbox delivery smtp but xenforo is reject all the smtp hosts.
Let me hear any one if able to resolve this, Thanks.
@Tomz @CyberDeviL
I just switched to xenforor cms, everything is perfect, but SMTP is not working.
I tried all SMTP hosts, gmail/yandex/cPanel and some other. All credentials are ok, smpt details are correct but outbound email test respond:

Server error log
Code:
Swift_TransportException: Email to [email protected] failed: Connection could not be established with host smtp.yandex.com [Connection timed out #110] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.yandex.com [Connection timed out #110] (code: 0) src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:140
Stack trace
Code:
#0 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(152): Swift_Plugins_LoggerPlugin->exceptionThrown(Object(Swift_Events_TransportExceptionEvent))
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(132): Swift_Events_SimpleEventDispatcher->_bubble(Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(361): Swift_Events_SimpleEventDispatcher->dispatchEvent(Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(115): Swift_Transport_AbstractSmtpTransport->_throwException(Object(Swift_TransportException))
#4 src/XF/Mail/Mailer.php(274): Swift_Transport_AbstractSmtpTransport->start()
#5 src/XF/Mail/Mail.php(395): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SmtpTransport), NULL, false)
#6 src/XF/Admin/Controller/Tools.php(278): XF\Mail\Mail->send(Object(Swift_SmtpTransport), false)
#7 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#12 src/XF.php(391): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
Request state
PHP:
array(4) {
["url"] => string(27) "/admin.php?tools/test-email"
["referrer"] => string(57) "https://-------.com/admin.php?tools/test-email"
["_GET"] => array(1) {
["tools/test-email"] => string(0) ""
}
["_POST"] => array(2) {
["email"] => string(25) "[email protected]"
["_xfToken"] => string(8) "********"
}
}
PHPMail is working, but that doesn't matter because all mails are non-signature with phpmail.
I have working spf/dkim and 100% inbox delivery smtp but xenforo is reject all the smtp hosts.
Let me hear any one if able to resolve this, Thanks.
@Tomz @CyberDeviL
Last edited: