我已經證實了我的自定義域,我總是得到這個錯誤:PHP笨Mailgun - 無法發送電子郵件
554 Free accounts are for test purposes only. Please upgrade or add the address to authorized recipients in Account Settings. The following SMTP error was encountered: 554 Free accounts are for test purposes only. Please upgrade or add the address to authorized recipients in Account Settings. Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
配置:
$this->email->initialize(array(
'mailtype' => 'html',
'protocol' => 'smtp',
'smtp_timeout' => 30,
'smtp_host' => 'ssl://smtp.mailgun.org',
'smtp_port' => '465',
'smtp_user' => '***',
'smtp_pass' => '***'
));
出了什麼問題?嘗試在兩個本地主機/服務器 - 並顯示相同的錯誤。這不是憑證問題,因爲我可以在Mailgun儀表板上看到日誌。
請在帳戶設置中將授權收件人升級或添加地址。帳戶設置頁面上的內容是什麼? – Borjante
我的錯 - 我已經添加了信用卡和它的工作.. – RonZ
Np,下次閱讀錯誤:) – Borjante