How to Choose the Right SMTP Port (Port 25, 587, 465, or 2525) (2024)

What SMTP port should be used? (short answer)

  • Port 587 is the default SMTP port for submission and it supports secure transmission via TLS.
  • Port 465 is still supported by many providers, but this is no longer an accepted standard.
  • Port 25 is only great for SMTP relay, not for SMTP submission.
  • Port 2525 is not an official SMTP port but can be used as a good alternative.

Support

Struggling to find out the right SMTP port to use? Been there, done that!

If you’re using an email client like Apple Mail or Outlook to send emails, that email client probably also uses SMTP to upload your outgoing emails to your mail server (though those clients typically use other protocols like IMAP or POP3 to download incoming emails to the app).

Additionally, if you’re struggling with email deliverability on WordPress, one of the best ways to fix the problem is to use an SMTP sending service like SendGrid, Mailgun, or Google Workspace.

But if you try to set up SMTP with your email client or WordPress website, you’ll probably encounter the question of which SMTP port to use.

To help you choose the right SMTP port for your needs, we’re going to dig into everything SMTP port-related in this post.

Check Out Our Video Guide on How To Choose the Right SMTP Port Number:

What is an SMTP Port?

An SMTP port is a communication endpoint that handles information transfers from one server to another. While SMTP (Simple Mail Transfer Protocol) guarantees most emails are being sent on the web, a port makes sure the right email data is going to the right place.

Let’s understand this process in more detail.

As we said, SMTP is the standard protocol for email transmission on the web. It’s what mail servers use to send and receive emails on the Internet.

For example, when you send an email, your email client needs a way to upload the email to the outgoing mail server. Then, the outgoing mail server needs a way to transfer your email to the recipient’s incoming mail server.

Mail servers are much like website servers in that, while there might be a user-friendly front-facing domain name, the actual communication happens via IP addresses, like 222.501.285.45 (for more on how this happens, check out our introduction to the Domain Name System, or DNS).

A “port” is another way to help computers (like two mail servers) communicate with one another:

  • An IP address identifies a computer.
  • A port identifies a specific application/service running on that computer, like SMTP.

Here’s an analogy to make it a little more human-friendly:

An IP address is the physical street address of a business complex. A port is the number of a specific business in that business complex.

If you want to deliver something to that business, you can’t just address it to the business complex, you also need a way to make sure it gets to the right place inside the business complex.

IANA, the organization responsible for global IP address allocation and other tasks, is also responsible for registering port numbers for common Internet services, which includes SMTP.

Why Does Your SMTP Port Matter?

If you want to connect to an SMTP server (like the Gmail SMTP Server), you need to enter both its IP address and its port number.

However, there are multiple common SMTP ports (more on this next) and not all of them work in all situations.

For example, port 25, the standard SMTP port for moving messages between mail servers, is often blocked by ISPs and cloud providers (including Google Cloud Platform, which is what Kinsta uses).

As such, if you try to connect to an SMTP server via port 25, you’ll often encounter issues because so many services block port 25.

Different Ports for Different Purposes

Beyond the implications above, different SMTP ports also have different purposes.

There are two broad stages in SMTP transmission:

  • Submission – submitting an email message to an outgoing mail server. For example, when you send an email in Apple Mail, that message needs to be submitted to the outgoing mail server.
  • Relay – the process of relaying the message between two servers. So after an email is “submitted” to the outgoing mail server, the outgoing mail server “relays” that message to the recipient’s mail server.

If you’re setting up your email client or WordPress site, you’re mostly concerned with the “submission” part of the process.

While “relay” is definitely an important part of SMTP, most people don’t need to configure their own email server.

What Port Does SMTP Use?

On the modern web, there’s not a single SMTP port. Instead, there are four common SMTP ports:

  • 25
  • 587
  • 465
  • 2525

Let’s go through them.

What is Port 25 Used For?

Port 25 was established all the way back in 1982, which makes it the oldest SMTP port.

Port 25 is still known as the standard SMTP port and it’s used mostly for SMTP relay.

However, if you’re setting up your WordPress site or email client with SMTP, you usually do not want to use port 25 because most residential ISPs and cloud hosting providers block port 25.

Why? Because port 25 is commonly abused to send spam from compromised computers.

Remember: there’s a difference between SMTP submission and relay. So while SMTP port 25 is great for SMTP relay, it is not a good option for SMTP submission.

What is Port 587 Used For?

Port 587 is the default port for SMTP submission on the modern web. While you can use other ports for submission (more on those next), you should always start with port 587 as the default and only use a different port if circ*mstances dictate (like your host blocking port 587 for some reason).

Port 587 also supports TLS, which means that you can securely submit mail.

What is Port 465 Used For?

Port 465 was originally registered for SMTPS (SMTP over SSL). After a brief stint in that function, port 465 was reassigned for a different use and deprecated.

Despite that fact, many ISPs and cloud hosting providers still support port 465 for SMTP submission.

What is Port 2525 Used For?

Port 2525 is not an official SMTP port (as recognized by the IETF or IANA). However, it’s still popularly used as an alternative to port 587 for SMTP submission and most ISPs and cloud hosting providers do support port 2525 for SMTP.

If port 587 is blocked, port 2525 makes a good alternative.

Which SMTP Port Should You Use?

We touched on this above, but let’s recap how to choose the right SMTP port because it’s important to make the right decision.

If you’re configuring your WordPress site or email client to send emails via SMTP (submission), you’ll almost always want to use port 587. Again, this is the default SMTP port for submission and it supports secure transmission via TLS.

If port 587 is blocked for some reason, port 2525 is a common alternative. Again, this is not an officially recognized SMTP port, but it is commonly used and supported by most providers.

While many providers still do support port 465 for SMTP, it’s no longer an accepted standard and you should always try to use ports 587 and 2525 before using port 465.

Finally, while port 25 is commonly used for SMTP relay, you should not use it when setting up an email client or WordPress website because most ISPs and cloud hosting providers block port 25.

Which SMTP Ports Can You Use at Kinsta?

At Kinsta, you can use ports:

  • 587
  • 465
  • 2525

You cannot use port 25 because Kinsta uses Google Cloud Platform infrastructure and Google Cloud Platform blocks port 25.

Summary

SMTP plays an important role in moving emails around the Internet.

To improve the deliverability of your WordPress site’s transactional emails, you can configure your WordPress site to send emails via SMTP. Additionally, if you use an email client like Apple Mail or Outlook, your email client uses SMTP to submit outgoing emails to the mail server.

In order to connect your WordPress site or email client to the SMTP server, you need to enter a specific SMTP port.

There are four common SMTP ports:

  • 25
  • 587
  • 465
  • 2525

Port 25 is commonly used for SMTP relay, but you should not use it for SMTP submission because most providers block it.

If you want to configure your WordPress site or email client to use SMTP, you should start with port 587 as your first choice, as it’s the standard port for SMTP submission.

And if port 587 doesn’t work, you can try port 2525. While it’s not an officially recognized SMTP port, it’s widely supported and it supports TLS for secure transmission.

How to Choose the Right SMTP Port (Port 25, 587, 465, or 2525) (1)

Matteo Duò Kinsta

Head of Content at Kinsta and Content Marketing Consultant for WordPress plugin developers. Connect with Matteo on Twitter.

How to Choose the Right SMTP Port (Port 25, 587, 465, or 2525) (2024)
Top Articles
Microsoft 365 Mailbox capacities and sizes
IPFS, Filecoin and the Long-Term Risks of Storing NFTs
Asist Liberty
Is Sportsurge Safe and Legal in 2024? Any Alternatives?
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
Optum Medicare Support
Baseball-Reference Com
4Chan Louisville
What Is Njvpdi
Facebook Marketplace Charlottesville
Springfield Mo Craiglist
Craigslist Mpls Cars And Trucks
800-695-2780
Alexandria Van Starrenburg
Where to Find Scavs in Customs in Escape from Tarkov
How pharmacies can help
Where Is George The Pet Collector
Isaidup
Ecampus Scps Login
Caring Hearts For Canines Aberdeen Nc
Craigslist Alo
Low Tide In Twilight Ch 52
Craigslist Lake Charles
Klsports Complex Belmont Photos
Inter Miami Vs Fc Dallas Total Sportek
Vht Shortener
Mastering Serpentine Belt Replacement: A Step-by-Step Guide | The Motor Guy
Parent Management Training (PMT) Worksheet | HappierTHERAPY
APUSH Unit 6 Practice DBQ Prompt Answers & Feedback | AP US History Class Notes | Fiveable
J&R Cycle Villa Park
A Grade Ahead Reviews the Book vs. The Movie: Cloudy with a Chance of Meatballs - A Grade Ahead Blog
Solve 100000div3= | Microsoft Math Solver
Ljw Obits
Bitchinbubba Face
Duff Tuff
Mixer grinder buying guide: Everything you need to know before choosing between a traditional and bullet mixer grinder
Rs3 Bis Perks
Who Is Responsible for Writing Obituaries After Death? | Pottstown Funeral Home & Crematory
814-747-6702
3 bis 4 Saison-Schlafsack - hier online kaufen bei Outwell
Powerboat P1 Unveils 2024 P1 Offshore And Class 1 Race Calendar
Borat: An Iconic Character Who Became More than Just a Film
Mother Cabrini, the First American Saint of the Catholic Church
Jane Powell, MGM musical star of 'Seven Brides for Seven Brothers,' 'Royal Wedding,' dead at 92
Product Test Drive: Garnier BB Cream vs. Garnier BB Cream For Combo/Oily Skin
Assignation en paiement ou injonction de payer ?
Hsi Delphi Forum
O'reilly's On Marbach
Raley Scrubs - Midtown
All Obituaries | Roberts Funeral Home | Logan OH funeral home and cremation
Scholar Dollar Nmsu
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6761

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.