XF 2.0 Email send error

pamul_

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:
CDdpSVVnQLC4E2Q6J9lvLg.png


Error:
18AR8xuESkWbCpwnTqaiRw.png


[LIST] [*]Swift_TransportException: Email to thetopcz@northmania.cz failed: Unable to send mail. [*]src/XF/Mail/Mailer.php:292 [*]Generated by: [URL='https://northmania.cz/domains/northmania.cz/admin.php?users/thetopcz.1/edit']TheTopCz[/URL] [*]8 Března 2018 v 15:09 [/LIST] [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:
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).
 
Back
Top Bottom