Home/Transactional Email/SMTP ports/Yahoo SMTP Settings

Yahoo SMTP settings: server, ports, app password, and why an agent should not send product mail through it

Yahoo's SMTP server is smtp.mail.yahoo.com, on port 465 with SSL or port 587 with STARTTLS, with your full Yahoo address as the username and a Yahoo app password, not your normal password. When an AI agent wires these settings into code, the app password ends up in a repo or a log, and the product's mail rides on one person's consumer mailbox.

VerifiedKam LowBy Kam Low, Co-founder and CTO·Updated

Yahoo SMTP settings

To send through a Yahoo Mail account from a third-party client or application:

Yahoo SMTP server, port and login

for a third-party client or app
SettingValueNotes
SMTP serversmtp.mail.yahoo.comSame for every Yahoo account
Port465 or 587Both are valid
EncryptionSSL on 465, STARTTLS on 587Pair the encryption to the port
AuthenticationRequiredOn both ports
UsernameYour full Yahoo addressInclude @yahoo.com
PasswordA generated app passwordNot your account password
A consumer mailbox has undocumented limits, a credential tied to one person, and no per-message status.

Use SSL on 465 and STARTTLS on 587, and do not mix them. That is the same rule that governs the SMTP port numbers generally. Microsoft mailboxes have their own version of this in the Office 365 SMTP settings, where the blocker is an admin toggle rather than a password.

Port 587 is the message submission port defined in RFC 6409, where the connection upgrades with STARTTLS. Port 465 is submission over implicit TLS, registered in RFC 8314.

You need an app password

Yahoo does not accept your normal account password over SMTP when two-factor authentication is on, and for most accounts it is. A standard password produces an authentication failure that looks like a wrong password, which sends people in circles.

Generate one instead:

  1. Open your Yahoo Account Security page.
  2. Find app passwords and generate a new one.
  3. Copy the 16-character string and use it as the SMTP password.

Yahoo's own steps are on its help page for third-party app passwords.

If you later disable 2FA or regenerate the password, every app using the old one stops sending. That's usually the cause when a working setup breaks months later with no changes on your end.

Gmail has the same requirement, covered step by step in the Gmail app password SMTP guide.

What an agent does differently with Yahoo SMTP

Ask a coding agent in Claude, ChatGPT or Cursor to make a contact form send email and it will reach for the first SMTP block that works. For a solo developer that is often their own Yahoo account. A person typing these settings into a mail client is a different case from an agent putting them into a product, for four reasons:

  • It runs unattended. Nobody watches the first hundred sends, so a failure shows up as a missing email days later.
  • It retries on failure. A send that times out gets sent again, and against a mailbox with undocumented daily caps that adds up fast.
  • It copies credentials into config. The Yahoo address and app password go into .env, a config file or a test script, and from there into commits and logs.
  • It sends product mail on a person's mailbox. Every agent that sends this way borrows one person's address, and every reply and bounce lands in that person's inbox.

Nitrosend gives the agent tools over MCP instead of a mailbox password and a port. The agent sends from a verified domain you own, not from one person's mailbox, and a person reviews the mail before customers get it.

Worked example: move app mail off a Yahoo account

The prompt: "Our contact form and signup emails send through my Yahoo app password. Move them off it."

Before. Left unguided, an agent keeps the setup it finds. The Yahoo address and app password sit in .env, the mailer points at smtp.mail.yahoo.com on 587, and the product's signup mail depends on one personal account.

After. With the Nitrosend MCP tools, the agent works through a fixed sequence:

  1. nitro_get_status checks account readiness and the sender identity.
  2. nitro_manage_domains adds the company's sending domain and checks that it is verified.
  3. nitro_review_delivery runs read-only validation, spam analysis and previews on the contact form and signup templates. It never sends.
  4. nitro_send_test_message sends one real test, which never reaches an audience.
  5. A person reviews the test and approves with nitro_control_delivery.
  6. The app code replaces the Yahoo SMTP block with nitro_send_message or a direct call to the REST API, each send carrying an idempotency_key that is reused only for an exact retry.
  7. nitro_get_insights shows the analytics for the first live sends.

The end state is a verified sending domain and an API key in place of a personal Yahoo credential. The Free plan includes 5,000 emails up front and then 500 a month. New accounts start at 100 recipients per rolling 24 hours, and the allowance rises with sender standing. The limits are on the pricing page.

Where it goes wrong when an agent uses Yahoo SMTP

  • The app password leaks. It gets committed to a repo or printed in a debug log, and anyone who finds it can send as that Yahoo account.
  • A retry loop hits the daily cap. Yahoo does not publish its send limits, and a loop that keeps resending can get the account temporarily blocked from sending.
  • Sending stops silently. A revoked app password or a security hold on the account stops every send, and there is no per-message status to show it.
  • Reputation is tied to one person. The product's mail rides on one person's mailbox, so their account problems become the product's delivery problems.

What people are usually setting up

Three cases cover almost everything:

  • A mail client like Outlook, Apple Mail, or Thunderbird, sending as your Yahoo address.
  • A "can receive but can't send" fix, which is nearly always the SMTP half of the config being wrong while IMAP is fine. Check the port and encryption pairing first, then the app password.
  • A website or form sending notifications through a Yahoo account.

The third case is the one to reconsider.

Why not to run a product on Yahoo SMTP

Yahoo Mail is a consumer mailbox, built for a person sending their own mail, and its delivery reputation belongs to Yahoo rather than to you. In a person's own mail client, that is fine. For a form, an app or a product sending order confirmations or password resets to customers, it is not. Those are transactional emails, and a consumer mailbox runs into three limits with them:

  • Send caps. Daily limits are modest and unpublished.
  • No authentication for your domain. The mail is not signed under a domain you own.
  • No delivery log. There is nothing to check when a customer says the email never arrived.
Four properties of a consumer mailbox
sized for a person
undocumented limits
credential tied to an individual
no per-message status
fine for personal mail, disqualifying for a system

If a product needs to send, the answer is your own verified sending domain with SPF, DKIM, and DMARC, not a mailbox with an app password. That work is the foundation of email deliverability, and once it is done you send over an email API and never think about ports or app passwords again.

For receipts, password resets and signup mail, the transactional email API page covers that route in more detail.

FAQ

What are the Yahoo SMTP settings?

The server is smtp.mail.yahoo.com, on port 465 with SSL or port 587 with STARTTLS. Authentication is required on both ports. The username is your full Yahoo address, including @yahoo.com, and the password is a generated 16-character app password from Yahoo Account Security, not your normal account password.

Why is Yahoo rejecting my SMTP password?

Two-factor authentication is on, and Yahoo will not accept your normal account password over SMTP. The failure looks like a wrong password. Generate an app password in your Yahoo Account Security settings and paste the 16-character string as the SMTP password. If the setup broke months later, check whether that app password was revoked.

Can I receive Yahoo mail but not send it?

That points at the SMTP half of the configuration, since IMAP is clearly working. Check that the port and encryption match, 465 with SSL or 587 with STARTTLS, that the server is smtp.mail.yahoo.com, and that the password field holds an app password rather than your normal Yahoo account password.

Can I use Yahoo SMTP for my application's email?

Not for product or form mail. A consumer mailbox has unpublished daily send caps, no authentication for your own domain, and no per-message delivery log, and the credential belongs to one person. Send product email from a verified domain you own instead, for example on the Free plan with 5,000 emails up front.

Go deeper

Send from your own verified domain, 5,000 emails free.

Simple pricing. Unlimited contacts.

Every plan includes full stack emailing: Flows, Newsletter Campaigns and Transactional Email, plus our NitroWheel LLM and all agent integrations (Claude, ChatGPT, Codex, Cursor and others). Pay for what you send, not who you store.

Choose your billing interval

Every paid plan includes 3 agent inboxes and no Nitrosend footer.

Starter

For your first email program.

$16USD / month

$192 billed yearly.

20,000 emails / month

Choose Starter
  • 5 brands · 3 seats
  • 5 custom sending domains
  • 500 email verifications/month
  • $1.50 / 1,000 extra emails

Pro

For a growing audience.

$40USD / month

$480 billed yearly.

60,000 emails / month

Choose Pro
  • 10 brands · 5 seats
  • 10 custom sending domains
  • 1,000 email verifications/month
  • $1.20 / 1,000 extra emails

Growth

For teams and agencies.

$120USD / month

$1,440 billed yearly.

200,000 emails / month

Choose Growth
  • Unlimited brands · 10 seats
  • 25 custom sending domains
  • 2,500 email verifications/month
  • $0.90 / 1,000 extra emails

Scale

For high-volume sending.

$240USD / month

$2,880 billed yearly.

500,000 emails / month

Choose Scale
  • Unlimited brands · 20 seats
  • 100 custom sending domains
  • 5,000 email verifications/month
  • $0.70 / 1,000 extra emails
Enterprise

Hey, big sender.

Sending 500,000+ emails a month? Get a custom plan designed for you, with volume email pricing and capacity that fits your business.

Start free. No card needed.

5,000 emails to start, then 500 emails every month. No expiry on your starter emails.

Start free

Daily allowances depend on your plan and sender standing. Strong list, domain and delivery evidence can raise standing, including on day one. Trusted receives the full plan allowance; available email credits, safety checks and delivery pacing still apply.

Free forever. No credit card required. See full comparison →