TOUSEEF
Unable to use Gmail with PHPMailer - Less Secure App Access Missing!

Unable to use Gmail with PHPMailer - Less Secure App Access Missing!

August 3, 2022
|
PHPPHPMailer

Less secure app access is missing because this feature has been removed by Gmail itself. So, to use Gmail with PHP Mailer so you have to follow the video link or steps shown below:

https://youtu.be/syRQ-cYI4Jw

OR Follow The Blog Below

Step 1: Go to Gmail > Manage My Google Account

gmail_1

Step 2: Go to “Security”

gmail_2

Step 3: Turn on “2-step verification”

gmail_3

Step 4: After that click on “App Password” below the 2-step verification

You will be asked to enter your Gmail password!

gmail_4

Step 5: Click on the “Select App” dropdown and choose the “Other” option

gmail_5

Step 6: You will be asked to write the name of your app (write any name)

gmail_6

Step 7: A popup will open and you will get a generate key from Gmail (Copy it!).

gmail_7

Step 8: Paste the copied key in your password field in PHPMailer.

gmail_8

All done!