To enable SMTP in Gmail, you need to turn on Gmail access in your Google account, allow SMTP settings, and use Gmail’s SMTP server details (smtp.gmail.com with the correct port, encryption, and authentication). Once enabled, Gmail SMTP lets you send emails from third-party apps, websites, or email clients securely using your Gmail account.
Step-by-Step: How to Enable SMTP in Gmail
Step 1: Enable IMAP in Gmail (Required)
Even though SMTP is for sending emails, Google requires IMAP to be enabled.
- Log in to your Gmail account
- Click the gear icon → See all settings
- Go to the Forwarding and POP/IMAP tab
- Under IMAP access, select Enable IMAP
- Click Save Changes
Step 2: Enable 2-Step Verification (Mandatory)
Google no longer allows less secure app access. To use SMTP, you must enable 2-Step Verification.
- Go to Google Account → Security
- Under “Signing in to Google,” turn on two-Step Verification
- Verify using SMS or an authenticator app
This step is essential before generating an App Password.
Step 3: Create an App Password for SMTP
App Passwords allow third-party apps to send email without exposing your main Gmail password.
-
- Open Google Account → Security
- Click App passwords
- Select:
- App: Mail
- Device: Other (Custom)
- Name it (e.g., “SMTP WordPress”)
- Copy the 16-character password
Save this password securely. You will not see it again.
Step 4: Configure SMTP in Your Application
Now enter the Gmail SMTP details in your app or email client.
Example Configuration:
- SMTP Host: smtp.gmail.com
- Port: 587
- Encryption: TLS
- Username: yourgmail@gmail.com
- Password: App Password (not your Gmail password)
Most platforms like WordPress, Outlook, Thunderbird, PHPMailer, and CRM tools support these settings.
Read More: How to Enable SMTP in Gmail?
Comments