我试图使用山魈标准Swiftmail SMTP连接,它位于:SwiftMail SMTP错误
http://help.mandrill.com/entries/21746308-Sending-via-SMTP-in-various-programming-languages
我得到一个:
Fatal error: Uncaught exception 'Swift_TransportException' with message 'Connection could not be established with host smtp.mandrillapp.com [Connection refused #111]' in /home/content/15/10121515/html/includes/classes/Swift/Transport/StreamBuffer.php:259 Stack trace: #0 /home/content/15/10121515/html/includes/classes/Swift/Transport/StreamBuffer.php(64): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 /home/content/15/10121515/html/includes/classes/Swift/Transport/AbstractSmtpTransport.php(115): Swift_Transport_StreamBuffer->initialize(Array) #2 /home/content/15/10121515/html/includes/classes/Swift/Mailer.php(80): Swift_Transport_AbstractSmtpTransport->start() #3 /home/content/15/10121515/html/includes/mail.php(62): Swift_Mailer->send(Object(Swift_Message), Array) #4 {main} thrown in /home/content/15/10121515/html/includes/classes/Swift/Transport/StreamBuffer.php on line 259
任何想法,为什么?
确认 - 这个答案的作品。这对我来说就像一个魅力 - 网站托管在Go爸爸。 – user3158649 2016-01-26 05:19:54
它工作!我们如何配置我们的GoDaddy共享主机使用mailtrap或mailgun发送邮件? – Jnanaranjan 2018-02-07 03:36:52