How to send emails from GMail account using PHPMailer now that Google has discontinued the less secure application?
P粉257342166
P粉257342166 2023-11-08 10:40:35
0
1
664

Google offers a "Less Secure Apps" feature to send emails from third-party apps. Since Google disabled this setting, our PHPMailer stopped sending emails. Is anyone facing the same problem? ? ?

P粉257342166
P粉257342166

reply all (1)
P粉034571623

I agree with ADyson above. Essentially just explaining the meaning of the link he posted:

Deal with this problem today. Just go to your Gmail account, then Manage your Google Account > Security.

Enable two-step verification from here, once completed you will see the "App Password" option appear under the two-step verification option. Click this button, name the device you want to use, then copy and paste the generated password you were given into your code, replacing the old password you used.

I have now done this for our office printer and a python script where I have to automatically send timesheets to everyone.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!