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.
| Setting | Outgoing (SMTP) | Incoming (IMAP) | Incoming (POP) |
|---|---|---|---|
| Server | smtp.mail.yahoo.com | imap.mail.yahoo.com | pop.mail.yahoo.com |
| Port | 465 or 587 | 993 | 995 |
| Encryption | SSL (TLS if available) | SSL | SSL |
| Authentication | Required | Required | Required |
| Username | Full email address | Full email address | Full email address |
| Password | App password | App password | App 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 to set up Yahoo Mail in another app
Five steps for Outlook, Thunderbird, a CRM or a website contact form.
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.
Choose IMAP to read your mail
IMAP keeps your mailbox in sync across devices. Use POP only to download mail to one computer.
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.
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.
Test the connection
Run the mailX SMTP Test and IMAP Checker with the same settings to confirm the server answers and accepts your login.
Related mailX tools
Check each side of your Yahoo setup.
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):
SMTP on port 587 with STARTTLS:
IMAP on port 993:
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.
Yahoo and email guides
Go further with Yahoo Mail and SMTP.
Spam Filter for Yahoo Email
How Yahoo filters spam and how to keep your emails out of it.
IMAP vs POP3 Explained
Which protocol to choose to read your mail in another client.
How to Fix SMTP Errors
What the most common SMTP error codes mean and how to solve them.
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.