原文:Could not connect to SMTP host: localhost, port: 25;

錯誤描寫敘述 DEBUG: setDebug: JavaMail version . . DEBUG: getProvider returning javax.mail.Provider TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc DEBUG SMTP: useEhlo true, useAuth tr ...

2017-06-26 18:28 1 3214 推薦指數:

查看詳情

解決 SMTP Error: Could not connect to SMTP host. 問題

我在使用PHPmailer發郵件時候,遇到了這個問題“SMTP Error: Could not connect to SMTP host.”,分享一下解決方法。 這個錯誤是PHP版本7產生的。如果我將PHP更改為5,它就可以工作了。 1.首先查看PHP環境擴展中是否開啟了socket ...

Fri May 25 23:20:00 CST 2018 0 11345
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM