How to send email without enabling "Access for less secure apps" - development

How to send email without enabling "Access for less secure apps"

In my mail configurations:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=example@gmail.com
MAIL_PASSWORD=lol
MAIL_ENCRYPTION=tls

But my testing email was enabled for “access for less secure apps”. Is there a chance to send email to any types of email? Currently i can’t get a server email and they configuration. I need to create my own email and integrate to the website.

My searches gives me “2-step verification”. Is system can automatically send mails If i enabled this? I can’t get any solution. I hope somebody can help me. Thanks in advance.



from Laravel Questions and Answers https://laravelquestions.com/php/how-to-send-email-without-enabling-access-for-less-secure-apps/
via Lzo Media

Comments

Popular posts from this blog

ng-show doesn’t work correct with value boolean

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-include of inline SVG does not display gradient except in Chrome