Pessoal, quando minha aplicação tenta enviar email, ocorre o erro abaixo:
Fatal error: Uncaught exception ‘Swift_TransportException’ with message ‘Connection could not be established with host smtp.gmail.com [ #0]’ in /home/brasdesi/public_html/contato/_lib/prod/third/swift/classes/Swift/Transport/StreamBuffer.php:265 Stack trace: #0 /home/brasdesi/public_html/contato/_lib/prod/third/swift/classes/Swift/Transport/StreamBuffer.php(66): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 /home/brasdesi/public_html/contato/_lib/prod/third/swift/classes/Swift/Transport/AbstractSmtpTransport.php(117): Swift_Transport_StreamBuffer->initialize(Array) #2 /home/brasdesi/public_html/contato/_lib/prod/third/swift/classes/Swift/Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start() #3 /home/brasdesi/public_html/contato/contato/contato_apl.php(1344): Swift_Mailer->send(Object(Swift_Message), Array) #4 /home/brasdesi/public_html/contato/contato/contato_apl.php(855): contato_apl->Valida_campos(NULL, NULL, NULL) #5 /home/brasdesi/public_html/contato/contato/index.php(1302): contato_apl->contr in /home/brasdesi/public_html/contato/_lib/prod/third/swift/classes/Swift/Transport/StreamBuffer.php on line 265
O que pode estar acontecendo?