Gmail SMTP Settings
Need to send emails from Gmail using another app, CRM, or email client? Gmail's SMTP server lets you send mail securely from anywhere — you just need the right server, port, and authentication settings. On this page, you'll get copy-paste Gmail SMTP settings, step-by-step setup instructions, and quick fixes for common errors — so you can start sending in minutes.
Gmail SMTP Server Settings
| Setting | Value |
|---|---|
| SMTP Server | smtp.gmail.com |
| Port (TLS) | 587 |
| Port (SSL) | 465 |
| Authentication | Required |
| Username | Your full Gmail address |
| Password | App Password (not your Gmail login password) |
| Secure Connection | TLS/SSL |
Google Workspace Relay SMTP Settings
| Setting | Value |
|---|---|
| Server Address | smtp-relay.gmail.com |
| Username | Your Gmail address |
| Password | Your Gmail password |
| Port | 587 (TLS), 465 (SSL), or 25 (TLS/SSL) |
| IP Requirement | One or more static IP addresses |
| Sending Limits | 2,000 messages/day |
Restricted Gmail SMTP Settings
| Setting | Value |
|---|---|
| Server Address | aspmx.l.google.com |
| Username | Your Gmail address |
| Password | Not required |
| Port | 25 (TLS not required) |
| Restriction | Can only send to Gmail or Google Workspace addresses |
Advanced Gmail SMTP Options (Google Workspace Relay & Restricted Gmail SMTP)
Gmail offers multiple SMTP server options depending on your use case. The standard smtp.gmail.com works for most users. Google Workspace Relay (smtp-relay.gmail.com) is designed for organizations needing higher volume sending with static IP requirements. The Restricted SMTP (aspmx.l.google.com) can only deliver to Gmail and Google Workspace addresses and doesn't require authentication.
How to Set Up Gmail SMTP
Setting up Gmail SMTP is straightforward whether you're connecting an email client or a web app.
For Email Clients
Follow these steps to configure Gmail SMTP in your email client:
- 1
Open email client's Account Settings
- 2
Choose Add New Account or Edit Account
- 3
Enter full Gmail address as Username
- 4
Paste Gmail SMTP details (smtp.gmail.com, port 587/465)
- 5
Use App Password for authentication
- 6
Save and send test email
For Web Apps or CRMs
Follow these steps to configure Gmail SMTP in your web app or CRM:
- 1
Go to Email/SMTP Settings section
- 2
Enter Gmail SMTP server details
- 3
Use App Password for authentication
- 4
Select encryption type (TLS for 587, SSL for 465)
- 5
Save settings and run test email
How to Create App Password
Gmail no longer accepts your normal account password for SMTP connections for less secure app access. To send emails through Gmail's SMTP server, you must generate an App Password (a special 16-character password) that works with email clients, CRMs, and apps.
- 1
Sign in to Gmail account
- 2
Go to Google Account → Security
- 3
Enable 2-Step Verification under "Signing in to Google"
- 4
Click App Passwords (or search in top bar)
- 5
Choose app (Mail) and device, or select "Other"
- 6
Click Generate and copy the 16-character password
- 7
Use this App Password in SMTP settings
Gmail SMTP Sending Limits & Quotas
Free Gmail accounts allow 500 emails/day with 500 recipients per message, resetting every 24 hours. Google Workspace (Paid) accounts allow 2,000 emails/day with 2,000 recipients per message, also resetting every 24 hours.
Why Not Just Use Saleshandy SMTP With Gmail?
If you're planning to use Gmail's SMTP for cold email, then let me warn you. Google is not built for high-volume sending. It's designed for personal or light business use, not for bulk outreach campaigns.
Consequences of exceeding limits include: Gmail will temporarily lock your account for 24 hours. If repeated, domain can be flagged. Deliverability issues even when under the limit.
If you need higher limits or want to send to all domains without restrictions, connect Gmail to Saleshandy's SMTP in one click.
Common SMTP Errors (And How to Fix Them Fast)
| Error | Meaning | Fix |
|---|---|---|
| 535 — Authentication Failed | Wrong password or App Password not used | Generate Gmail App Password and update config |
| Connection Timed Out | Port blocked or wrong port used | Use port 587 (TLS) or 465 (SSL); check firewall |
| App Access Blocked | Google blocked sign-in for security | Enable 2-Step Verification; create App Password |
| Daily Sending Limit Reached | Hit Gmail's max send quota | Wait 24 hours or switch to Saleshandy SMTP |
| Relaying Denied | IP/domain not authorized | Ensure logged in with correct account/SMTP server |
Automate Your Cold Email Campaigns
No credit card · 7-day free trial