New: mailX now works inside ChatGPT. Try it →
Free SMTP Server Finder

SMTP Lookup: Find the SMTP Server and Port for Your Email Provider

Pick your email provider or sending service in the list (Gmail, Microsoft 365, Yahoo, SendGrid, Amazon SES...) to get the outgoing mail server, ports and login settings. On your own domain, pick the company that hosts your mailboxes.

Results

  • Free SMTP lookup
  • Instant results
  • No signup required

What does this SMTP finder give you?

Everything your app or email client asks for on the outgoing server screen.

SMTP host name

The outgoing mail server to connect to, such as smtp.gmail.com, smtp.office365.com or smtp.sendgrid.net.

Ports and encryption

Every port the provider supports with its security type: 587 with STARTTLS, 465 with SSL/TLS, and 2525 where sending services offer it.

Mailboxes and sending services

Covers mailbox providers (Gmail, Microsoft 365, Yahoo, iCloud, Zoho) and sending services (SendGrid, Mailgun, Amazon SES, Brevo, Postmark).

Username and password rules

What to use as credentials: your address with an app password, OAuth, or an API key such as SendGrid's "apikey" username.

Official source

A link to the provider's own documentation, so you can confirm the settings at the source.

Plan and region notes

Warnings such as Microsoft 365 SMTP AUTH being off by default, Amazon SES credentials being per region, or Zoho paid plans using a different host.

How it works

How to find your SMTP server

Four steps to configure outgoing email in any app, CRM or website.

01

Identify who sends your email

For a mailbox, it is your email provider (Gmail, Outlook, Yahoo...) or the company hosting your custom domain. For an app or website, it is often a sending service such as SendGrid, Amazon SES or Brevo.

02

Pick it in the SMTP finder

Choose the provider or sending service in the list, region by region for Amazon SES. mailX returns the SMTP host, the supported ports and encryption, and how to log in.

03

Pick the right port

Use 587 with STARTTLS by default. Use 465 with SSL/TLS if your app only offers implicit TLS. With a sending service that offers it, try 2525 if your hosting provider blocks the standard ports.

04

Test before you go live

Run the SMTP test with your host, port and credentials to confirm that the server answers and accepts your login.

What is an SMTP server?

An SMTP server is the outgoing mail server that accepts your messages and relays them to the recipient's mail server. SMTP (Simple Mail Transfer Protocol) is used for sending only. Reading your mailbox goes through IMAP or POP3, with a different host.

To send through a provider, your app needs four things: the SMTP host, the port, the encryption type and credentials. Port 587 with STARTTLS is the standard submission port (see which SMTP port to use). Port 465 uses implicit SSL/TLS and is just as secure. Port 25 is meant for server-to-server delivery and is blocked by most residential ISPs and cloud hosts for outgoing mail.

Credentials are where most setups fail. Gmail, Yahoo, AOL and iCloud refuse your regular password in third-party apps. Sending services use API keys or dedicated SMTP credentials, never your account password.

Typical SMTP settings (Microsoft 365):

Outgoing server: smtp.office365.com
Port: 587
Encryption: STARTTLS
Username: your full email address
Authentication: SMTP AUTH must be enabled for the mailbox

SMTP server settings for popular providers

These are the outgoing server settings the SMTP finder returns for the most used mailbox providers and sending services. When several ports are listed, 587 with STARTTLS is the safe default. Rules change over time, so check the official page linked in the tool result if a connection fails. Step-by-step setup guides: Gmail SMTP settings, Outlook.com SMTP settings and Yahoo SMTP settings. Not sure which port to pick? Read SMTP ports explained: 25, 465, 587 and 2525.

Mailbox providers:

Gmail and Google Workspace: smtp.gmail.com, 587 STARTTLS or 465 SSL
Outlook.com, Hotmail, Live: smtp-mail.outlook.com, 587 STARTTLS
Microsoft 365: smtp.office365.com, 587 STARTTLS
Yahoo Mail: smtp.mail.yahoo.com, 465 SSL or 587 STARTTLS
AOL Mail: smtp.aol.com, 465 SSL
iCloud Mail: smtp.mail.me.com, 587 STARTTLS
Zoho Mail (US, personal and free plans): smtp.zoho.com, 465 SSL or 587 STARTTLS
Zoho Mail (US, paid organizations): smtppro.zoho.com, 465 SSL or 587 STARTTLS (shown in the Zoho result notes)
GoDaddy Professional Email: smtpout.secureserver.net, 465 SSL or 587 STARTTLS
IONOS (US and Canada): smtp.ionos.com, 465 SSL or 587 STARTTLS
Comcast / Xfinity: smtp.comcast.net, 587 STARTTLS or 465 SSL

Sending services:

SendGrid: smtp.sendgrid.net, 587, username apikey, password your API key
Mailgun (US region): smtp.mailgun.org, 587
Amazon SES (US East): email-smtp.us-east-1.amazonaws.com, 587, SES SMTP credentials
Brevo: smtp-relay.brevo.com, 587, SMTP key
Postmark: smtp.postmarkapp.com, 587 (465 not supported)
Mailchimp Transactional: smtp.mandrillapp.com, 587, API key as password
Mailjet: in-v3.mailjet.com, 587, API key and secret key

Why your SMTP connection fails

When the settings look right but the app still cannot send.

Regular password refused

Gmail, Yahoo, AOL and iCloud require an app password or OAuth in third-party apps. AT&T requires a secure mail key.

SMTP AUTH disabled in Microsoft 365

SMTP AUTH is off by default in many Microsoft 365 tenants. An admin must enable it for the organization or for the mailbox. Basic authentication for SMTP AUTH will be turned off by default at the end of December 2026, so plan for OAuth.

Port blocked by your host

Many cloud and hosting providers block port 25, and some block 465 or 587. Sending services that offer port 2525 are the usual workaround.

Wrong port and encryption pair

587 goes with STARTTLS, 465 goes with SSL/TLS. Mixing them makes the connection hang or fail with a TLS error.

API key used the wrong way

SendGrid expects the literal username apikey. Brevo needs an SMTP key, not an API key. Amazon SES SMTP credentials are not your AWS secret access key.

Wrong region or plan host

Amazon SES, Mailgun and Zoho use different hosts by region or plan. Use the host of the region where your domain or account was created.

Finding the SMTP server for a custom domain

With an address on your own domain, the SMTP server belongs to the company that hosts your mailboxes. Check your MX records to see who that is: Google Workspace (google.com), Microsoft 365 (mail.protection.outlook.com or mx.microsoft), Zoho, GoDaddy (secureserver.net)... then enter that provider in the SMTP finder.

MX records only tell you who receives your email. If your website, CRM or app sends through a service such as SendGrid, Amazon SES or Mailgun, that service is your SMTP server for those messages. Set up the domain authentication it provides (DKIM, plus the SPF or return-path records it gives you) so its emails pass DMARC.

Same domain, two different senders:

Team mailboxes: Google Workspace, smtp.gmail.com
Website and app emails: SendGrid, smtp.sendgrid.net
Root domain SPF: v=spf1 include:_spf.google.com ~all
SendGrid: SPF and DKIM handled by the CNAME records of its domain authentication

Emails sent but landing in spam?

The right SMTP server gets your email out. SPF, DKIM and DMARC decide whether it reaches the inbox. Check all three for free.

SMTP Server FAQ

SMTP basics

What is my SMTP server?
Your SMTP server is the outgoing mail server of your email provider or sending service. For Gmail and Google Workspace it is smtp.gmail.com, for Microsoft 365 smtp.office365.com, for Outlook.com smtp-mail.outlook.com and for Yahoo smtp.mail.yahoo.com. Enter your provider in the mailX SMTP finder to get the ports and login rules.
What is the difference between SMTP and IMAP?
SMTP sends email, IMAP receives and syncs it. They use different hosts and ports: for Gmail, smtp.gmail.com on 587 for sending and imap.gmail.com on 993 for receiving.
Can I find the SMTP server from a domain name?
Partly. MX records show who receives a domain's email, which is usually the same company that provides its mailboxes and SMTP server. Apps and websites on the same domain can still send through a different service.

Ports

Which SMTP port should I use?
Use 587 with STARTTLS by default. Port 465 with implicit SSL/TLS is equally secure and required by some providers such as AOL. Avoid port 25 for sending from apps: it is meant for server-to-server traffic and is widely blocked.
What is SMTP port 2525?
Port 2525 is not an official SMTP port, but sending services such as SendGrid, Mailgun, Brevo and Postmark offer it as an alternative when a host blocks 587 and 465.

Login problems

Why does SMTP authentication fail?
The most common causes are a regular password used where an app password or OAuth is required, SMTP AUTH disabled for a Microsoft 365 mailbox, or an API key entered in the wrong field for a sending service.
What username do I use for SendGrid SMTP?
The username is literally apikey, and the password is your SendGrid API key.
Are Amazon SES SMTP credentials my AWS keys?
No. Generate SMTP credentials in the SES console for the region you send from. They are region-specific and different from your AWS secret access key.