How to Gmail smtp
Published November 1, 2024 · Updated July 22, 2026 · SMTP & Deliverability
Using Gmail's SMTP server is the quickest way to send email from an app, website, or script — the settings are free and already tied to your account. It works well for low volume, but Gmail's caps make it a starting point, not a destination. Here are the Gmail SMTP settings and how to use them.
Gmail SMTP settings
| Setting | Value |
|---|---|
| SMTP server | smtp.gmail.com |
| Port | 587 (STARTTLS) or 465 (SSL) |
| Username | your full Gmail address |
| Password | an app password (if 2-step is on) |
Gmail SMTP caps out at roughly 500 emails a day (2,000 on Workspace). Fine for a form or a small script, but it will not carry a marketing campaign, and heavy use risks throttling your account.
Unlimited sending on a dedicated SMTP
Same easy SMTP settings, but with a dedicated IP, no daily cap, and authentication done for you. From $39.99/mo.
Frequently asked questions
What is Gmail's SMTP server and port?
smtp.gmail.com on port 587 (STARTTLS) or 465 (SSL), using your Gmail address and an app password.
Why won't my Gmail password work for SMTP?
With 2-step verification enabled, you must use an app password generated in your Google security settings, not your account password.
How many emails can Gmail SMTP send?
About 500 a day on free Gmail and 2,000 on Workspace. For more, use a dedicated SMTP with no cap.