Which SMTP port should you use?

Share ideas, strategies, and trends in the crypto database.
Post Reply
mouakter13
Posts: 190
Joined: Mon Dec 23, 2024 4:05 am

Which SMTP port should you use?

Post by mouakter13 »

However, if you are setting up your WordPress site or email client with SMTP, you typically don't 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 is a difference between SMTP sending and SMTP relaying. So while port 25 is great for SMTP relaying, it is not a good choice for SMTP sending.

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 that below), you should always start with port 587 as the default and only use a different port if circumstances dictate (such as if your host blocks port 587 for some reason).

Port 587 also supports TLS , meaning you can send emails securely.

What is Port 465 used for?
Port 465 was originally registered for SMTPS (SMTP over SSL). After a brief period in that role, port 465 was reassigned for a different use and deprecated.

Despite this, many Internet service providers 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 is still popularly used as an alternative to port 587 for SMTP submission, and most Internet Service Providers and cayman islands phone number data Cloud Hosting Providers do support port 2525 for SMTP.

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

We've already talked about this, but let's recap how to choose the right SMTP port because it's important to make the right choice.

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 sending and supports secure transmission over TLS.

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

Although many providers still support port 465 for SMTP, it is no longer an accepted standard and you should always try using ports 587 and 2525 before using port 465.

Finally, although port 25 is commonly used for SMTP relay, it should not be used when setting up an email client or a WordPress website because most ISPs and cloud hosting providers block port 25.
Post Reply