This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Fatal error: Unable to connect with host smtp.office365.com
Started 9 years ago by dwzemens | 5 posts |
-
My client receives this email error when trying to submit a MachForm. Previously the form had been working correctly. Any help appreciated.
=============================
Fatal error: Uncaught exception 'Swift_TransportException' with message 'Connection could not be established with host smtp.office365.com [Connection timed out #110]' in /home1/directoryabc/public_html/machforms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php:259 Stack trace: #0 /home1/directoryabc/public_html/machforms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php(64): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 /home1/directoryabc/public_html/machforms/lib/swift-mailer/classes/Swift/Transport/AbstractSmtpTransport.php(115): Swift_Transport_StreamBuffer->initialize(Array) #2 /home1/directoryabc/public_html/machforms/lib/swift-mailer/classes/Swift/Mailer.php(80): Swift_Transport_AbstractSmtpTransport->start() #3 /home1/directoryabc/public_html/machforms/includes/helper-functions.php(791): Swift_Mailer->send(Object(Swift_Message)) #4 /home1/directoryabc/public_html/machforms/includes/post-functions.php(2600): mf_send_notification(Object(PDO), 15279, 22, 'mbrani@stanasta...', Array) #5 /home1/directoryabc/public in /home1/directoryabc/public_html/machforms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php on line 259Posted 9 years ago # -
Based on the error message:
Connection could not be established with host smtp.office365.com [Connection timed out #110]It looks like your web server is having connection issue with the SMTP server.
I suggest to contact your hosting tech support and let them know. There might be firewall or routing issue.You can also try to disable the SMTP server option and uses the default setting to send email.
MachForm Founder
Posted 9 years ago # -
Thank you. Will do.
Posted 9 years ago # -
I'm having the same issue. dwzemens, did you ever get this solved?
Posted 8 years ago # -
ctyankee -- have you tried turning off the SMTP server option on your machform panel? The hosting company most likely blocked the connection to the SMTP server.
MachForm Founder
Posted 8 years ago #
Reply
You must log in to post.