无法使用3个可能的身份验证器在SMTP服务器上使用用户名“XXXXX@roadsprep.com”进行身份验证

时间:2017-10-20 19:47:19

标签: laravel-5.4

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_NAME= 'NAME'
MAIL_USERNAME=XXXXX@roadsprep.com
MAIL_PASSWORD="XXXXXXXXXXXX"
MAIL_ENCRYPTION=tls

这是我的.env档案。

(1/1) Swift_TransportException Failed to authenticate on SMTP server with username "XXXXX@roadsprep.com" using 3 possible authenticators
in AuthHandler.php (line 181)
at Swift_Transport_Esmtp_AuthHandler->afterEhlo(object(Swift_SmtpTransport))
in EsmtpTransport.php (line 332)
at Swift_Transport_EsmtpTransport->_doHeloCommand()
in AbstractSmtpTransport.php (line 118)
at Swift_Transport_AbstractSmtpTransport->start()
in Mailer.php (line 79)
at Swift_Mailer->send(object(Swift_Message), array())
in Mailer.php (line 443)
at Mailer->sendSwiftMessage(object(Swift_Message))
in Mailer.php (line 217)

此错误显示在我的家用台式机中,但同样的设置在我的办公室机器中完美运行。都来自localhost。

0 个答案:

没有答案