Laravel Gmail not working, “Username and Password not accepted. Learn more…”

后端 未结 8 2570
刺人心
刺人心 2020-12-02 14:49

When I try to send an e-mail through my website running Laravel 4, I get this exception:

{\"error\":{\"type\":\"Swift_TransportException\",\"message\":\"Expe         


        
8条回答
  •  清歌不尽
    2020-12-02 15:36

    Remove the @gmail.com from username, already you mentioned smtp. So no need @gmail.com on your username. I'm 100% sure it is your problem, because I had that problem.

提交回复
热议问题