简体   繁体   English

无法使用2个可能的身份验证器在SMTP服务器上使用用户名进行身份验证

[英]Failed to authenticate on SMTP server with username using 2 possible authenticators

I've configured to gmail SMTP server to send email. 我已配置为gmail SMTP服务器发送电子邮件。 Account less secure app turned ON, also Recapture thing enabled. 帐户不太安全的应用程序打开,也启用了重新捕获事物。 Here is the mail.php configuration. 这是mail.php配置。

This code working fine on hostgator server. 此代码在hostgator服务器上正常运行。 But we have another server, mails are not sending from that server. 但我们有另一台服务器,邮件不是从该服务器发送的。 What should I do now? 我现在应该怎么做?

Error image 错误图片

http://screencast.com/t/BSCurEEubPJV http://screencast.com/t/BSCurEEubPJV

return array(    
    'driver' => 'smtp',
    'host' => 'smtp.gmail.com',
    'port' => 587,
    'from' => array('address' => 'xxx@gmail.com', 'name' => 'xxxxTeam'),
    'encryption' => 'tls',
    'username' => 'xxx@gmail.com',
    'password' => 'xx@123',    
    'sendmail' => '/usr/sbin/sendmail -bs',
    'pretend' => false,
);

I got the same issue. 我遇到了同样的问题。 Finally found that my server IP address was blacklisted. 终于发现我的服务器IP地址被列入黑名单。 Please check your IP address using this link. 请使用此链接检查您的IP地址。

Link : https://mxtoolbox.com/blacklists.aspx 链接: https//mxtoolbox.com/blacklists.aspx

If it is blacklisted, send re-list request via they provide links. 如果它被列入黑名单,则通过提供链接发送重新列表请求。 That's it 而已

Thank you 谢谢

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Laravel,无法使用 3 个可能的身份验证器使用用户名“”在 SMTP 服务器上进行身份验证 - Laravel, Failed to authenticate on SMTP server with username "" using 3 possible authenticators 使用 2 个可能的身份验证器在用户名“***”的 SMTP 服务器上进行身份验证失败 - Failed to authenticate on SMTP server with username “***” using 2 possible authenticators Laravel:无法使用 2 个可能的身份验证器在 SMTP 服务器上使用用户名进行身份验证 - Laravel :Failed to authenticate on SMTP server with username using 2 possible authenticators Swift_TransportException无法使用共享主机上的2个可能的身份验证器使用用户名email@domain.com在SMTP服务器上进行身份验证 - Swift_TransportException Failed to authenticate on SMTP server with username email@domain.com using 2 possible authenticators on shared host PHP Swift 邮件程序:无法使用 2 个可能的身份验证器在 SMTP 上进行身份验证 - PHP Swift mailer: Failed to authenticate on SMTP using 2 possible authenticators 使用 Laravel Jetstream 使用用户名在 SMTP 服务器上进行身份验证失败 - Failed to authenticate on SMTP server with username using Laravel Jetstream Laravel 无法使用用户名在 SMTP 服务器上进行身份验证 - Laravel Failed to authenticate on SMTP server with username Swift_TransportException无法使用用户名在SMTP服务器上进行身份验证 - Swift_TransportException Failed to authenticate on SMTP server with username 无法在 SMTP 服务器上进行身份验证 Laravel 6 - Failed to authenticate on SMTP server in Laravel 6 如何解决 Laravel SMTP 中 2 个可能的身份验证器错误 - How to resolve 2 possible authenticators error in Laravel SMTP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM