2012-07-02 66 views
0

當我試圖使用的PHPMailer類發送電子郵件,我有以下錯誤:PHPMailer的錯誤:「無法連接到:25」

Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (No connection could be made because the target machine actively refused it.) in C:\Users\Testing\Downloads\PHPMailer\phpmailer\class.smtp.php on line 105

誰能幫助我?

回答

1

unable to connect to :25表示您忘記在配置中輸入服務器地址。

確保在初始化PHPMailer時指定了有效的SMTP服務器地址。

相關問題