Server settings

IMAP and SMTP settings for 23 email providers

Incoming and outgoing server names, ports and security for Gmail, iCloud, Yahoo, Xfinity, AT&T, GoDaddy and 17 more providers, each with a setup guide.

In short

A mail app reads your mail from the incoming server (IMAP) and sends through the outgoing one (SMTP). 22 of these 23 providers use port 993 with SSL/TLS for IMAP; for SMTP, 15 use port 465 with SSL/TLS and 7 use port 587 with STARTTLS. The table has each one's own, and each name links to its guide. The user name is usually your full email address, and many providers want an app password rather than the one you sign in to their website with.

Providers

ProviderIncoming (IMAP)Outgoing (SMTP)
AOL Mailimap.aol.com
993, SSL/TLS
smtp.aol.com
465, SSL/TLS
AT&T Mailimap.mail.att.net
993, SSL/TLS
smtp.mail.att.net
465, SSL/TLS
BT Emailmail.btinternet.com
993, SSL/TLS
mail.btinternet.com
465, SSL/TLS
CenturyLink Emailmail.centurylink.net
993, SSL/TLS
smtp.centurylink.net
587, STARTTLS
DreamHost Emailimap.dreamhost.com
993, SSL/TLS
smtp.dreamhost.com
587, STARTTLS
EarthLink Emailimap.earthlink.net
993, SSL/TLS
smtpauth.earthlink.net
587, STARTTLS
Fastmailimap.fastmail.com
993, SSL/TLS
smtp.fastmail.com
465, SSL/TLS
Gmailimap.gmail.com
993, SSL/TLS
smtp.gmail.com
465, SSL/TLS
GMXimap.gmx.com
993, SSL/TLS
mail.gmx.com
587, STARTTLS
GoDaddy Professional Emailimap.secureserver.net
993, SSL/TLS
smtpout.secureserver.net
465, SSL/TLS
Hostinger Emailimap.hostinger.com
993, SSL/TLS
smtp.hostinger.com
465, SSL/TLS
iCloud Mailimap.mail.me.com
993, SSL/TLS
smtp.mail.me.com
587, STARTTLS
IONOS Mailimap.ionos.com
993, SSL/TLS
smtp.ionos.com
465, SSL/TLS
mail.comimap.mail.com
993, SSL/TLS
smtp.mail.com
587, STARTTLS
Namecheap Private Emailmail.privateemail.com
993, SSL/TLS
mail.privateemail.com
465, SSL/TLS
Optimum Emailmail.optimum.net
993, SSL/TLS
mail.optimum.net
465, SSL/TLS
Proton Mail127.0.0.1
1143, STARTTLS
Proton Mail Bridge, on your Mac
127.0.0.1
1025, STARTTLS
Proton Mail Bridge, on your Mac
Rackspace Emailsecure.emailsrvr.com
993, SSL/TLS
secure.emailsrvr.com
465, SSL/TLS
Verizon email (in AOL Mail)imap.aol.com
993, SSL/TLS
smtp.verizon.net
465, SSL/TLS
Windstream Emailimap.windstream.net
993, SSL/TLS
smtp.windstream.net
465, SSL/TLS
Xfinity Emailimap.comcast.net
993, SSL/TLS
smtp.comcast.net
587, STARTTLS
Yahoo Mailimap.mail.yahoo.com
993, SSL/TLS
smtp.mail.yahoo.com
465, SSL/TLS
Zoho Mailimap.zoho.com
993, SSL/TLS
smtp.zoho.com
465, SSL/TLS

Each guide has the provider's other ports, POP3 where it offers it, and what to do if a mail app can't connect.

Ports

The standard ports, which most providers keep to. Your provider's own settings, in the table above, come first. What each means, and which to choose: IMAP ports, SMTP ports.

ProtocolPortSecurityFor
IMAP993SSL/TLSReading mail. Encrypted from the first byte.
IMAP143STARTTLSReading mail. Starts plain, then switches to encryption.
SMTP465SSL/TLSSending mail from an app. Encrypted from the first byte.
SMTP587STARTTLSSending mail from an app. Starts plain, then switches to encryption.
SMTP25—Servers passing mail to each other. Many providers block it for mail apps.
POP3995SSL/TLSDownloading mail to one device.

In LocalInbox

AOL Mail, Fastmail, Gmail, GMX, iCloud Mail, Proton Mail, Yahoo Mail and Zoho Mail are built in: choose the provider in Settings › Accounts › Add Account, and LocalInbox fills in its servers. For any other provider, choose Other IMAP account, open Server settings and type in the settings from the table. The same works in LocalInbox for iPhone and iPad.

Questions

Should I use IMAP or POP3?

IMAP, if your provider offers it. IMAP keeps your mail on the server, so read, moved and deleted messages look the same in webmail, on your phone and on your computer. POP3 downloads mail to one device, and what you do there doesn't show anywhere else.

What's the difference between SSL/TLS and STARTTLS?

Both encrypt the connection. With SSL/TLS (ports 993, 465 and 995) it's encrypted from the first byte; with STARTTLS (ports 143 and 587) the app connects in plain text and then asks to switch to encryption. RFC 8314 recommends SSL/TLS from the start where a provider offers it. Pick the one your provider lists for the port: the wrong kind for a port doesn't connect.

Why does my provider want an app password?

Gmail, iCloud Mail, Yahoo, AOL and others don't accept the password you sign in to their website with when a mail app signs in with a password. An app password is a separate one, made in your account's security settings for one app, which you can revoke without changing your main password. AT&T calls it a secure mail key.

Which providers does LocalInbox fill in by itself?

AOL Mail, Fastmail, Gmail, GMX, iCloud Mail, Proton Mail, Yahoo Mail and Zoho Mail: choose the provider in Settings › Accounts › Add Account and LocalInbox fills in the servers. For the rest, choose Other IMAP account and type in the settings from the table.

Join our Discord