Provider setup

Gmail SMTP test — ports, App Passwords, and troubleshooting

Test Gmail SMTP (smtp.gmail.com) on port 587 or 465. Step-by-step App Password setup, STARTTLS, and how to read 535 authentication errors.

1 min read Credentials redacted No signup

Connection settings

Host
smtp.gmail.com
Port
587
Security
STARTTLS

Gmail's submission servers are smtp.gmail.com on port 587 (STARTTLS) or port 465 (implicit TLS). Use your full @gmail.com address as the username.

If 2-Step Verification is on, you must use a Google App Password—not your normal login password. Generate one under Google Account → Security → App passwords.

Recommended settings

Try it on your own server

Run these settings against your SMTP server and watch the live, credential-redacted protocol transcript.

Open SMTP Tester