PHPMailer 配置代码如下:
$config = Array(
'useragent' => 'PHPMailer',
'protocol' => 'smtp',
'smtp_host' => 'webmail.waskitaprecast.co.id',
'smtp_port' => 25
'smtp_user' => '****@waskitaprecast.co.id',
'smtp_pass' => '*****',
'charset' => 'iso-8859-1',
'wordwrap' => TRUE,
'smtp_timeout' => '30',
'mailpath' => '/usr/sbin/sendmail',
'mailtype' => 'html'
);
我得到了这个错误:
220 WBP-EXCH-01.wbp.local Microsoft ESMTP MAIL Service ready at Thu, 12 Jul 2018 14:15:18 +0700 hello: 250-WBP-EXCH-01.wbp.local Hello [10.10.2.74]
250-SIZE 26214400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES 250-8BITMIME
250-BINARYMIME
250 CHUNKING
发送Auth登录命令失败。错误:504 5.7.4 Unrecognized authentication type Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
请帮帮我吧!