New: mailX now works inside ChatGPT. Try it →
Yahoo Mail SMTP Settings

Yahoo SMTP Settings: smtp.mail.yahoo.com, Ports and App Password

Yahoo's outgoing server is smtp.mail.yahoo.com on port 465 or 587 with SSL, and third-party apps need an app password. Pick Yahoo in the list below to get the full settings.

Results

  • Settings from Yahoo Help
  • SMTP, IMAP and POP
  • Free, no signup

Yahoo Mail SMTP, IMAP and POP settings at a glance

These are the settings Yahoo publishes in its help center. Your username is your full Yahoo address, and the password is an app password generated in your Yahoo account, not your regular password.

SettingOutgoing (SMTP)Incoming (IMAP)Incoming (POP)
Serversmtp.mail.yahoo.comimap.mail.yahoo.compop.mail.yahoo.com
Port465 or 587993995
EncryptionSSL (TLS if available)SSLSSL
AuthenticationRequiredRequiredRequired
UsernameFull email addressFull email addressFull email address
PasswordApp passwordApp passwordApp password

In most apps, 465 goes with SSL/TLS and 587 with STARTTLS. If one fails, try the other pair before changing anything else.

How it works

How to set up Yahoo Mail in another app

Five steps for Outlook, Thunderbird, a CRM or a website contact form.

01

Generate an app password

Sign in to the Yahoo Account Security page, click "Create app password" under External connections and follow the prompts. Copy the code.

02

Choose IMAP to read your mail

IMAP keeps your mailbox in sync across devices. Use POP only to download mail to one computer.

03

Enter the servers and ports

Incoming: imap.mail.yahoo.com, 993, SSL. Outgoing: smtp.mail.yahoo.com, 465 with SSL/TLS or 587 with STARTTLS. Authentication on.

04

Use your full address and the app password

Username: name@yahoo.com (or your Yahoo domain). Password: the app password, entered once in the app.

05

Test the connection

Run the mailX SMTP Test and IMAP Checker with the same settings to confirm the server answers and accepts your login.

Yahoo app passwords and sending limits

Why Yahoo asks for an app password

Apps that do not use Yahoo's own sign-in page need a single password to log in. Yahoo gives them an app password: a randomly generated code you create in your account and enter once in the app. Your regular Yahoo password is not accepted there.

App passwords stay valid even if you change your main Yahoo password. To cut off an app, delete its app password in your account security settings.

How many emails can you send with Yahoo Mail?

Yahoo does not publish its limits, to make spammers' work harder. When you hit a limit, Yahoo shows a notice and you have to wait before sending again; the notice usually says how long. For newsletters or bulk sending, Yahoo itself recommends a dedicated bulk email service.

Sending to Yahoo users from your own domain

If your problem is the other way round, emails you send to Yahoo addresses landing in spam, the cause is usually your domain's authentication. Yahoo, like Gmail, requires SPF or DKIM from senders, and SPF, DKIM and DMARC from bulk senders.

Test Yahoo's servers from the command line

These commands check that Yahoo's servers answer from your network. A reply starting with 220 (SMTP) or * OK (IMAP) means the port is reachable.

SMTP on port 465 with SSL (macOS, Linux, WSL):

openssl s_client -connect smtp.mail.yahoo.com:465 -crlf

SMTP on port 587 with STARTTLS:

openssl s_client -starttls smtp -connect smtp.mail.yahoo.com:587 -crlf

IMAP on port 993:

openssl s_client -connect imap.mail.yahoo.com:993 -crlf

Why Yahoo SMTP or IMAP refuses to connect

The usual causes, from the most to the least common.

Regular password used

Third-party apps need an app password. Create one in Account Security and use it instead.

Wrong port and encryption pair

465 goes with SSL/TLS, 587 with STARTTLS. A mismatch gives a TLS error or a timeout.

Authentication turned off

Yahoo requires authentication on the outgoing server. Turn on "My server requires authentication" in your app.

Partial username

Use the full address, name@yahoo.com, not just the part before the @.

Sending limit reached

Yahoo pauses sending when a limit is hit. Wait the time shown in the notice, and move bulk sending to a dedicated service.

Port blocked on your network

Some networks block 465 or 587. Test from another connection or run the SMTP Test to see if the server answers.

Emails to Yahoo users going to spam?

Yahoo checks SPF, DKIM and DMARC on every message. See how your domain looks in one free test.

Yahoo SMTP Settings FAQ

Servers and ports

What is the Yahoo SMTP server?
smtp.mail.yahoo.com, port 465 or 587, SSL required, authentication required. Use your full email address and an app password.
What is the Yahoo SMTP port?
465 with SSL/TLS or 587 with STARTTLS. Both work; Yahoo lists both.
What are the Yahoo IMAP settings?
imap.mail.yahoo.com, port 993, SSL required.
What are the Yahoo POP settings?
pop.mail.yahoo.com, port 995, SSL required.

Login

Why does Yahoo reject my password in Outlook or another app?
Third-party apps that do not use Yahoo's sign-in page need an app password. Create one in Yahoo Account Security, under External connections.
How do I create a Yahoo app password?
Sign in to the Yahoo Account Security page, click Create app password under External connections, name the app and copy the generated code into the app's password field.
Does changing my Yahoo password break my app passwords?
No. App passwords stay active after a password change. Delete an app password to revoke it.

Limits

How many emails can I send per day with Yahoo Mail?
Yahoo does not disclose its sending limits. If you hit one, Yahoo tells you how long to wait. For bulk email, use a dedicated sending service.