
直到上週 godaddy 更改了郵件伺服器名稱時,我才能發送郵件。我不確定要使用新伺服器名稱更新哪個檔案。
我在嘗試發送郵件時收到此錯誤訊息:
Failed to connect to smtpout.secureserver.net:25 [SMTP: Invalid response code received from server (code: -1, response: )]
我在 Ubuntu 伺服器上編輯設定檔的位置/內容是什麼?
謝謝
答案1
您的伺服器上安裝了Postfix之類的郵件伺服器嗎?通常,一旦完成,您就無需更改太多內容。您必須做的最後一個設定是在 php.ini 檔案中(可能在 /etc/php5/apache2/php.ini 中)需要設定 SMTP 設定。