How to resolve this while sending gmail
Hi,
Gmail:
SMTP Server: smtp.gmail.com
Port: If SSL is enabled use Port 465. If TLS is enabled use Port 587.
Auth Username: This will be your full Gmail address. (e.g. example@gmail.com)
https://portal.smartertools.com/kb/a2862/smtp-settings-for-outlook365-and-gmail.aspx
If i give port number 465 or 587.
i am getting Authentication failed.
Hi,
This is usually related to 2-step authentication. Something you can test out easy: generate a google app password and use that instead of your normal account password.
In setting after checking
Enable POP for mail that arrives from now on.
Enable IMAP
This both check boxes only Enable IMAP check box is checking after saving
Np. Hope you followed the steps given on the post.
Did you run the code.
Are you facing any error there.
Np. It’s anyways optional .
Try to run the code.
same i am getting Authentication failed.
Please enable less secure apps for your account here.
https://myaccount.google.com/lesssecureapps
Thank you it works