XF 2.0 Email send error


New member
Hello, I have a problem, I can not send emails on the web. I'm displaying a error more screenshots, do not you know where the problem might be? If the problem has been solved in the past I apologize, but I did not find a way to solve it.

Email transport method:


[*]Swift_TransportException: Email to thetopcz@northmania.cz failed: Unable to send mail.
[*]Generated by: [URL='https://northmania.cz/domains/northmania.cz/admin.php?users/thetopcz.1/edit']TheTopCz[/URL]
[*]8 Března 2018 v 15:09
[SIZE=5][B]Stack trace[/B][/SIZE]
#0 src/XF/Mail/Mail.php(335): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SmtpTransport))
#1 src/XF/Service/Contact.php(144): XF\Mail\Mail->send()
#2 src/XF/Pub/Controller/Misc.php(78): XF\Service\Contact->send()
#3 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Misc->actionContact(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'Contact', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Misc), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}
[SIZE=5][B]Request state[/B][/SIZE]
array(4) {
["url"] => string(35) "/domains/northmania.cz/misc/contact"
["referrer"] => string(36) "https://northmania.cz/conversations/"
["_GET"] => array(0) {
["_POST"] => array(7) {
["subject"] => string(1) "A"
["message"] => string(1) "A"
["_xfRedirect"] => string(36) "https://northmania.cz/conversations/"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(15) "/conversations/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
Last edited:

Tracy Perry

Well-known member
Shared host? Contact them to make sure that outbound port 465 is open.
VPS/Dedicated server? Check to make sure that your firewall is allowing outbound connections on port 465.

Be sure that you are using the correct SSL/TLS and the appropriate port settings (your SMTP provider should be able to tell you what to use).
Same here, cant fixe it. After registration some users I have to unlocke manual... I am checking every some days userlist for "unlocked" Users. Thats quite anoying. :cautious: