我試圖使用山魈標準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