SMTP settings for every provider
The exact outgoing mail server, ports, encryption, username and password rules for 48 providers — plus each one's sending limits and the errors it gives. Copy the values into any app, plugin or mail client.
The short version: use port 587 with STARTTLS (or 465 with SSL/TLS), your full email address as the username, and — for Gmail, Yahoo, iCloud, AOL, Zoho and Fastmail — an app password, not your login password. Sending services use an API key. Port 25 is for servers talking to servers and is blocked by most clouds and ISPs. New to this? Start with the SMTP setup guide; outgrowing a mailbox? Compare a dedicated SMTP email provider or a Google SMTP alternative.
| Provider | Outgoing host | Ports | Password type |
|---|---|---|---|
| Gmail | smtp.gmail.com |
587 / 465 / 25 | app password |
| Google Workspace | smtp.gmail.com |
587 / 465 / 25 | app password |
| Outlook.com / Hotmail | smtp-mail.outlook.com |
587 | app password |
| Microsoft 365 / Office 365 | smtp.office365.com |
587 / 25 | app password |
| Zoho Mail | smtp.zoho.com |
465 / 587 | app password |
| Yahoo Mail | smtp.mail.yahoo.com |
465 / 587 | app password |
| iCloud Mail | smtp.mail.me.com |
587 | app password |
| Proton Mail | 127.0.0.1 |
1025 / 587 | API key / SMTP credential |
| Fastmail | smtp.fastmail.com |
465 / 587 | app password |
| AOL Mail | smtp.aol.com |
465 / 587 | app password |
| GMX | smtp.gmx.com |
587 / 465 | app password |
| mail.com | smtp.mail.com |
587 / 465 | mailbox password |
| Yandex Mail | smtp.yandex.com |
465 / 587 | app password |
| Comcast / Xfinity | smtp.comcast.net |
587 / 465 | mailbox password |
| Hostinger | smtp.hostinger.com |
465 / 587 | mailbox password |
| Titan Email | smtp.titan.email |
465 / 587 | mailbox password |
| Namecheap Private Email | mail.privateemail.com |
465 / 587 | mailbox password |
| GoDaddy | smtpout.secureserver.net |
465 / 587 / 80 / 3535 / 25 | mailbox password |
| Bluehost | mail.yourdomain.com |
465 / 587 / 26 | mailbox password |
| HostGator | mail.yourdomain.com |
465 / 587 / 25 | mailbox password |
| SiteGround | mail.yourdomain.com |
465 / 587 | mailbox password |
| DreamHost | smtp.dreamhost.com |
465 / 587 | mailbox password |
| IONOS (1&1) | smtp.ionos.com |
587 / 465 | mailbox password |
| OVHcloud | ssl0.ovh.net |
465 / 587 | mailbox password |
| cPanel / WHM | mail.yourdomain.com |
465 / 587 / 25 / 26 | mailbox password |
| Plesk | mail.yourdomain.com |
465 / 587 / 25 | mailbox password |
| Amazon SES | email-smtp.<region>.amazonaws.com, |
587 / 2587 / 465 / 2465 / 25 | API key / SMTP credential |
| SendGrid | smtp.sendgrid.net |
587 / 2525 / 25 / 465 | API key / SMTP credential |
| Mailgun | smtp.mailgun.org |
587 / 2525 / 465 / 25 | API key / SMTP credential |
| Postmark | smtp.postmarkapp.com |
587 / 2525 / 25 | API key / SMTP credential |
| Elastic Email | smtp.elasticemail.com |
2525 / 587 / 465 / 25 | API key / SMTP credential |
| Mailchimp Transactional (Mandrill) | smtp.mandrillapp.com |
587 / 2525 / 25 / 465 | API key / SMTP credential |
| SMTP2GO | mail.smtp2go.com |
2525 / 587 / 8025 / 25 / 465 / 8465 | API key / SMTP credential |
| turboSMTP | pro.turbo-smtp.com |
587 / 2525 / 25 / 465 | mailbox password |
| Brevo (Sendinblue) | smtp-relay.brevo.com |
587 / 2525 / 465 / 25 | API key / SMTP credential |
| Mailjet | in-v3.mailjet.com |
587 / 2525 / 25 / 465 | API key / SMTP credential |
| MailerSend | smtp.mailersend.net |
587 / 465 / 2525 | mailbox password |
| SparkPost (Bird) | smtp.sparkpostmail.com |
587 / 2525 | API key / SMTP credential |
| Resend | smtp.resend.com |
465 / 587 / 2465 / 2587 | API key / SMTP credential |
| Mailtrap | sandbox.smtp.mailtrap.io |
2525 / 587 / 465 / 25 | API key / SMTP credential |
| SocketLabs | smtp.socketlabs.com |
587 / 2525 / 25 | mailbox password |
Mailbox providers
Personal and business mailboxes (Gmail, Outlook, Zoho…). Fine for a person; capped and From-restricted for apps.
Web hosting & business email
Mailboxes that come with hosting. Hourly caps and blocked port 25 are the norm.
Email sending services
Relays built for applications: verified domains, API keys, per-plan quotas.
Cloud platforms
What the big clouds do and do not offer for outbound mail.
VPS providers (port 25 blocked)
Servers that cannot deliver mail directly — how to relay from them.
Capped, blocked or rewritten? Point the same settings at a relay.
When a provider caps you or blocks a port, point the same app at QueenSMTP instead: host smtp.queensmtp.com, port 587 (STARTTLS) or 465 (SSL), your SMTP username and password from the dashboard. $5/year plus $0.10 per 1,000 emails, 100 free a day to test.
Get SMTP credentials — free to test Test any SMTP serverSMTP settings — common questions
The five values an app or mail client needs to send mail: the outgoing server host (e.g. smtp.gmail.com), the port (587 with STARTTLS or 465 with SSL), the encryption mode, a username (usually your full email address) and a password (often an app password or API key rather than your login password).
587 with STARTTLS is the standard submission port and works everywhere it is not blocked; 465 with implicit SSL/TLS is the alternative. Port 25 is for server-to-server delivery and is blocked by most clouds and ISPs.
Gmail, Yahoo, iCloud, AOL, Fastmail and Zoho (with 2FA) require an app-specific password; Microsoft 365 requires SMTP AUTH to be enabled; sending services use API keys. Each provider page here lists the exact rule.
Related Guides
Continue learning with these related articles