dssqq64884 2016-07-25 02:52
浏览 45

在Laravel 5中发送电子邮件

Hi I'm getting an error when sending an email. the error is:

Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted.

I have enabled my google gmail account for less secure apps but I still get this error. I know somewhere you can add apps to have access to your gmail account but I don't know where that page is to add an app I keep getting the page where you can manage your app for your gmail account but I don't know where the page is to add that app could someone please help.

  • 写回答

1条回答 默认 最新

  • dongyong8098 2016-07-25 05:00
    关注

    Login in your gmail and go to this address
    https://www.google.com/settings/security/lesssecureapps
    and Turn on Access for less secure apps

    评论

报告相同问题?