What is Gmail IMAP Settings ?
Gmail IMAP Settings are:
Gmail IMAP Server: imap.gmail.com
Gmail IMAP user: your-email@gmail.com (Your Gmail Address)
Gmail IMAP password: Your Gmail password / App Password
Gmail IMAP port: 993
TLS/SSL Required: yes
Enabling IMAP in Gmail:
To access Gmail messages though imap, you must need to enable it first in your Gmail account.
- Go to Settings.
- Click Forwarding and POP/IMAP.
- Select Enable IMAP
- Save Changes.
Generate App password (for 2-Step Verification Users)
If you have enabled 2-Step verification for your email account, you have to create an app password to use as Gmail SMTP password in above given settings. Go generate app password login to your Gmail account and follow below steps.
- Go to https://myaccount.google.com/
- Go to “App passwords”
- Click on Select App >> Other (Custom name)
- Enter App Name and Click GENERATE
It will generate a new app password and show on-screen. Copy this password and use it for Gmail SMTP settings in your application code or settings.
0 comments:
Post a Comment