【问题标题】:Failed to authenticate on SMTP server with username "faiezahmed844@gmail.com" using 3 possible authenticators无法使用 3 个可能的身份验证器在用户名“faiezahmed844@gmail.com”的 SMTP 服务器上进行身份验证
【发布时间】:2019-10-02 05:19:10
【问题描述】:

未能使用 3 个可能的身份验证器在用户名“faiezahmed844@gmail.com”的 SMTP 服务器上进行身份验证。 Authenticator LOGIN 返回了预期的响应代码 235,但得到了代码“535”,并带有消息 - 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials u6sm1627561pfm.10 - gsmtp

Authenticator PLAIN 返回了预期的响应代码 235,但得到了代码“535”,并带有消息 - 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials u6sm1627561pfm.10 - gsmtp

Authenticator XOAUTH2 返回了预期的响应代码 250,但得到了代码“535”,并带有消息 - 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials u6sm1627561pfm.10 - gsmtp

【问题讨论】:

    标签: laravel


    【解决方案1】:

    检查您的电子邮件配置并生成 Gmail 应用密码。

    MAIL_DRIVER=smtp
    MAIL_HOST=smtp.googlemail.com
    MAIL_PORT=465
    MAIL_USERNAME=ENTER_YOUR_GMAIL_USERNAME // Gmail mail iD
    MAIL_PASSWORD=ENTER_YOUR_GMAIL_PASSWORD // Gmail App generated password
    MAIL_ENCRYPTION=ssl
    

    按照以下链接生成应用密码。

    https://support.google.com/mail/answer/185833?hl=en

    【讨论】:

      猜你喜欢
      • 2019-09-16
      • 2021-06-11
      • 2019-01-20
      • 2018-01-13
      • 2019-10-06
      • 1970-01-01
      • 1970-01-01
      • 2020-12-21
      • 1970-01-01
      相关资源
      最近更新 更多