DEV Community

Cover image for How to Set Up, Configure, and Send Emails using Yahoo SMTP Server
Veljko Ristic
Veljko Ristic

Posted on • Originally published at mailtrap.io

How to Set Up, Configure, and Send Emails using Yahoo SMTP Server

No reason to beat around the bush. As the title suggests, I guide you through everything you need to know about Yahoo SMTP.

Let’s get straight to it.

What is Yahoo SMTP?

SMTP, or Simple Mail Transfer Protocol, is a mail server protocol for sending emails over the Internet. Yahoo SMTP allows users to send emails from their Yahoo Mail account through other email clients like Microsoft Outlook, Mozilla Thunderbird, or any other standard email application that supports SMTP.

Image description

From the technical side, here are the Yahoo SMTP settings to keep at hand:

  • SMTP server address: smtp.mail.yahoo.com
  • Ports: Either 465 (with SSL) or 587 (with TLS), depending on your email client’s capabilities and security preferences.
  • Encryption: SSL or TLS based on the port you choose.
  • Authentication: Necessary. Use your full email address and an app-generated password. This goes double if you have 2FA enabled.

Note: I’ll explain the app-generated password and all the setup flows in a later section. If you want to jump to it, click here.

Why should you use Yahoo as an SMTP server?

Assuming you’ll use this email server for a pet project, personal use, or just to see how Yahoo Mail SMTP works, there are a few reasons to do it.

  1. Wide compatibility: Yahoo SMTP is compatible with a broad range of email clients, making it easy to integrate into almost any system without special configuration. (You’ll see it soon, it’s often just a few clicks to have the outgoing mail and incoming mail up and running.)
  2. High deliverability: Yahoo has robust systems in place to ensure high deliverability rates for your emails, minimizing the risk of them being marked as spam. (Keep in mind that deliverability isn’t only on the email service side, it has a lot to do with the type of outgoing emails you send.)
  3. Account security: Yahoo supports secure connections via SSL/TLS, helping protect your data from interception during transmission.
  4. No cost for personal use: Yahoo provides SMTP services at no additional cost, which is beneficial for individuals or small businesses looking to minimize expenses. But the email provider does impose certain (I’d say stringent) limitations.
  5. Reliability: Yahoo is a long-established company with a reputation for reliable service. Using their SMTP server can lend credibility and stability to your email communications. Still, you shouldn’t be surprised if an occasional email lands in tabs or the spam folder with Outlook or Gmail.
  6. Simple setup: This is probably the biggest plus for me. Setting up Yahoo SMTP is straightforward, with clear documentation and support available, making it accessible even for those with minimal technical expertise.

How to configure Yahoo SMTP server settings?

I’ll start with creating the in-app password, then move to show you the email settings with Thunderbird.

Step #1

Create a dedicated app password, you can’t use the password you have for the Yahoo account. Do the following:

  1. Go to your Yahoo account (Note: Not the mail account but your general account info on Yahoo)

Image description

  1. Select the Security tab, scroll down, and choose “Generate app password” under ‘App Password’ section. This generates a special SMTP password you can use for third-party integrations.

Image description

  1. Follow the wizard, enter the app name, and confirm with the “Generate password” button.

Image description

  1. The system will show you the password; copy-paste it somewhere safe for future reference.

Step #2

Now, access the email client you’d like to use and add the SMTP settings. For the purposes of this tutorial, I’ll use Thunderbird.

  1. In Thunderbird, click the Gear icon at the lower left corner, then choose Account Settings.

Image description

  1. Click the “Account Actions” menu at the bottom left, then select “Add Mail Account” to add Yahoo SMTP.

Image description

  1. Type your Yahoo SMTP credentials into the designated fields. Make sure to use the app password you previously created, and hit Continue.

Image description

  1. The wizard takes you to the Yahoo popup where you need to complete the authentication via login and 2FA. Proceed with it; once done, your account will immediately pop up in Thunderbird.

Image description

Important Notes:

  • Thunderbird allows you to automatically set up POP (Post Office Protocol) and IMAP (Internet Message Access Protocol), the later being selected by default. Feel free to proceed with that configuration, there’s no reason to do it manually with this client. But for the sake of this tutorial, I’ll show you the manual setup in the coming sections.
  • Thunderbird bakes in the POP3 or IMAP settings (‘ON’ by default). You can update some of the credentials, however, there’s no option for manual setup after you add the SMTP. You’d need to re-add the SMTP and then choose “Manual setup”.

Image description

How to configure Yahoo POP3 settings?

Here I’ll show you the manual setup that may generally apply to other clients.

  1. Navigate to the account settings or preferences within your email client. This is typically found in the ‘Accounts’ or ‘Email’ settings section.
  2. Choose the option to add a new email account, and select ‘Manual setup’ or ‘Additional server types’ when prompted.
  3. When asked for the account type, select POP settings or POP3.
  4. Enter POP3 server details and your credentials:
  • POP3 server (Host): pop.mail.yahoo.com
  • Port: 995.
  • Encryption: Ensure SSL/TLS encryption is enabled for securing your email data.
  • Authentication: Required. Enter your full Yahoo email address and the app password. (Reminder: this is the Yahoo mail password you generated, not the Yahoo account password)
  1. [Optional] – Some clients may have the “Leave a copy of messages on the server” option. You can check it if you want the email backup.
  2. Save the settings. Depending on the client, the ‘Test Account Settings’ button could be available. This will send a test message to verify the setup. But with more recent client updates, there’s just a confirmation notification.

How to configure Yahoo IMAP settings?

The manual configuration for IMAP is almost the same as for POP3, so I won’t be repeating all the steps. Basically, you add a new account, select ‘Manual setup’ or ‘Additional server types’, and move on to add the following credentials.

IMAP server (Host): imap.mail.yahoo.com

Port: 993

Encryption: SSL/TLS enabled. This setting secures the data transmission between your email client and Yahoo’s servers.

Authentication: Required. Use your full Yahoo email address and the in-app password you created.

Troubleshooting Yahoo SMTP server configuration

I collected a list of frustrating little errors that may block the server and tips on how to fix them.

  1. Authentication errors – typically occur because of the wrong settings or login credentials. To avoid them, double-check your username and password. Also, as a reminder, you need to use the app password you create, particularly if you have the 2FA ON.
  2. “Server not responding” or the “Connection timed out” – the errors could appear due to network/internet connection issues, incorrect SMTP settings, or server downtime. The only thing you can do is check that the SMTP server address (smtp.mail.yahoo.com) and port numbers (465 with SSL or 587 with TLS) are correct. If it’s server-side, you can only wait and try again later.
  3. SSL/TLS errors – these are rare but may occur if the email client doesn’t support the encryption method you chose. You can check if the SSL/TLS is enabled and if you’re on the correct ports – 465 for SSL and 587 for TLS.
  4. “Email sending limit exceeded” – this happens when you send more emails than you’re allowed to. To offset the limitation, try to reduce the sending frequency. That may help since Yahoo times you out of the service whenever you hit the threshold. But it’s also a signal you should be looking for a different service.
  5. Firewall or ISP blocks – Sometimes certain network configurations or ISPs block SMTP ports used by Yahoo (again, this isn’t common for most IPSs). If it happens, reach out to the ISP to see if they block SMTP ports 465 or 587 (the former is more likely to be blocked). In this case, you may need to use a different port. And if it’s your firewall, you’ll need to reconfigure it to allow Yahoo SMTP.

Yahoo SMTP limitations: when not to use Yahoo as a SMTP server

Interestingly, in an attempt to discourage spammers, Yahoo chooses not to disclose its limitations publicly. But I did some digging, since I didn’t run the testing myself, and came up with a few consistent numbers that make sense.

Based on the Woodpecker blog and a few other resources, you can send up to 500 emails per day, and a single email can be sent to 100 recipients max. Also, it’s speculated that the hourly throughput caps at 100 emails.

More importantly, Yahoo updated its sender requirements not that long ago, making domain authentication via DNS records one of the main requirements for bulk senders. Check the video below where we discuss the update in detail.

Now, I’d always say you need to authenticate your domain via DNS, regardless of the SMTP provider. However, the limitation of 500 emails a day may only be suitable for solopreneur startups and tiny businesses.

But even if you choose to go the Yahoo route, imagine what happens if you get a surge of customers or queries and you need to scale fast. Simply, you’ll be blocked for a while, potentially losing customers.

Finally, Yahoo doesn’t offer advanced analytics and segmentation, A/B testing, and a bunch of other features that are likely to make your campaigns more efficient. So it pays to explore alternatives.

What is a reliable alternative to Yahoo SMTP?

Mailtrap Email API/SMTP is a reliable alternative to Yahoo SMTP. It’s part of the Mailtrap Email Delivery Platform that allows you to test, send, and control your email infrastructure in one place.

Hit play to see it in action.

More importantly, Mailtrap allows you to scale with ease and have access to all the advanced tools that help make your campaigns and email sending more effective.

Okay, I’ve been there to see Mailtrap grow to the platform that it is today, so I could be subjective. But let me break down the features for you to help you make an informed decision.

  • In-depth analytics: You get a helicopter-view dashboard to assess the email performance at a glance. And there are drill-down reports where you can check the deliverability for different mailbox providers, email categories, and more.

Image description

  • 24/7 human support: Yes, there are real people to address your support tickets quickly. Plus, we have deliverability experts who can assist with any technical challenge you may encounter.
  • Secure setup: All the DNS records are provided for you, and there’s an option to send setup instructions to a team member. And Mailtrap supports SSL and TLS.

Image description

  • SMTP and API: Even if you’re on a free plan, you get access to RESTful APIs and SDKs in major languages. This may be invaluable if you’re a dev and want to automate email-sending processes within your app or service.
  • Email templates: There’s a drag-and-drop interface to create visually appealing templates and accessible templates.

Image description

  • Dedicated IPs: If you send more than 100K emails a month, you can get a dedicated IP for greater control over your deliverability and sender reputation.
  • Email testing: Mailtrap email testing provides a fully-featured sandbox solution to check your emails without spamming real recipients.

Hope this gives you enough of a reason to give Mailtrap a try, so go on and hit the button below.

Try Mailtrap Email API/SMTP Now

Wrapping up

When all is said and done, Yahoo SMTP is an okay solution to get your feet wet with SMTP services. It’s super easy to set up, many of the processes have been automated, and email-sending is straightforward regardless of the client or app you use.

However, if you’re down for business, you’ll need to choose an SMTP provider with more features and much less limitations. Hopefully, it’ll be Mailtrap 😀.

We appreciate you chose this article to know about Yahoo SMTP. To read more articles on the related topics, visit Mailtrap blog!

Top comments (0)