This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

SMTP ERROR SUBMITTING FORM


  1. magtaf
    Member

    I get this error with latest version installed today. I have used gmail and 1and1 smtp servers which are accurate.

    Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tls://smtp.gmail.com:465 (Network is unreachable) in /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php on line 271

    Fatal error: Uncaught exception 'Swift_TransportException' with message 'Connection could not be established with host smtp.gmail.com [Network is unreachable #101]' in /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php:273 Stack trace: #0 /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php(66): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Transport/AbstractSmtpTransport.php(116): Swift_Transport_StreamBuffer->initialize(Array) #2 /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start() #3 /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/includes/helper-functions.php(563): Swift_Mailer->send(Object(Swift_Message)) #4 /homepages/28/d399846559 in /homepages/28/d399846559/htdocs/jesucristocaminocelestial.com/forms/lib/swift-mailer/classes/Swift/Transport/StreamBuffer.php on line 273

    Posted 12 years ago #
  2. magtaf
    Member

    Support, please assist.

    Posted 12 years ago #
  3. yuniar

    Based on the error message above "Network is unreachable", your hosting seems to block connection to smtp.gmail.com using port 465.
    I suggest to contact your hosting tech support and confirm wether they allow connection to Google server using port 465 or not.


    MachForm Founder

    Posted 12 years ago #

RSS feed for this topic

Reply