gmail keeps blocking PHPmailer sign in

前端 未结 1 1305
你的背包
你的背包 2021-01-24 03:39

I\'m about to deploy a website in the next 8h and Gmail just stop accepting PHPmailer sign in to my account. At first it worked, for a bunch of hours while testing. Then, it jus

相关标签:
1条回答
  • 2021-01-24 04:01

    Resolved! I hope this helps others in the future.. Even though I enabled gmail "access to less secure apps" it kept rejecting the PHPmailer sign in.. Seems that for some reason gmail wasn't accepting port 587, at least for me, so I switched it to 465 and everything started working right a way.

    As a plus for this answer, as for what @Amit Merchant suggested in the comment section, I wasn't aware of what the last comment in stackoverflow.com/a/33667250/1485183 says, it basically shows a gmail feature I never found or heard when looking for a solution for my problem, that this: accounts.google.com/DisplayUnlockCaptcha

    I'm sure this will help someone some day whether if it's for phpmailer or any other library.

    0 讨论(0)
提交回复
热议问题