Yahoo Mail SMTP Settings

Server smtp.mail.yahoo.com, port 465 with SSL/TLS. Full configuration, authentication requirements and fixes for the errors Yahoo Mail actually returns.

Test these settings now

Yahoo Mail requires an app password for every third-party SMTP client. Generate one from Account Security, then connect to smtp.mail.yahoo.com on port 465 with implicit SSL/TLS.

Yahoo Mail SMTP server settings

Outgoing mail (SMTP)

SMTP server
Port
SSL/TLS · Recommended STARTTLS · Also accepted
Encryption
SSL/TLS
Authentication
App password required
Username
Your full Yahoo address (e.g. [email protected])
Password
Yahoo app password — the account password will be rejected
Sending limit
Roughly 500 messages/day

Incoming mail settings (IMAP & POP3)

SMTP sends mail; IMAP and POP3 retrieve it. You will usually need both sides configured for a working mail client.

ProtocolServerPortEncryption
SMTP Outgoing smtp.mail.yahoo.com 465 SSL/TLS
IMAP Incoming imap.mail.yahoo.com 993 SSL/TLS
POP3 Incoming pop.mail.yahoo.com 995 SSL/TLS

How to set up Yahoo Mail SMTP

  1. Open Account Info → Account Security on Yahoo.
  2. Click Generate app password and name it.
  3. Copy the password Yahoo shows — it is displayed only once.
  4. Use smtp.mail.yahoo.com with port 465 and SSL/TLS.
  5. Username is your full Yahoo address; password is the app password.

Verify it before you deploy. Paste these settings into the free SMTP test tool and send yourself a test message. It takes about twenty seconds and tells you whether Yahoo Mail accepted the connection, the encryption and the login — before your application depends on it.

Common Yahoo Mail SMTP errors

ErrorWhat to do
Invalid credentials on every attempt Yahoo blocks plain account passwords over SMTP. Only an app password will authenticate.
STARTTLS failure on port 587 Switch to port 465 with implicit SSL/TLS, which Yahoo supports most reliably.

Seeing a reply code that isn't listed here? Every standard SMTP response is explained in our SMTP error code reference.

Yahoo Mail SMTP — frequently asked questions

The Yahoo Mail SMTP server is smtp.mail.yahoo.com. Connect on port 465 using SSL/TLS encryption.

Port 465 with SSL/TLS (Recommended). Port 587 with STARTTLS (Also accepted).

Username: Your full Yahoo address (e.g. [email protected])
Password: Yahoo app password — the account password will be rejected

Yahoo blocks plain account passwords over SMTP. Only an app password will authenticate.

Switch to port 465 with implicit SSL/TLS, which Yahoo supports most reliably.