Easy and Simple Solution

Sunday, January 7, 2018

Cannot connect to Gmail : Can not authenticate to IMAP server

No comments
The below error when try access gmail from php website.

Error:
Cannot connect to Gmail : Can not authenticate to IMAP server: [ALERT] Please log in via your web browser: https://support.google.com/mail/acco

Solution:
1.Login to your gmail account, enable imap.
2.Let the access here first: https://www.google.com/settings/security/lesssecureapps
3.Go to: https://accounts.google.com/b/0/DisplayUnlockCaptcha and enable access.

No comments :

Post a Comment

Real Time Analytics -->