SMTP uses several ports, but only two of them really matter for sending email today: 587 (with STARTTLS) and 465 (with implicit TLS). Use 587 if your client supports STARTTLS, otherwise use 465. Avoid port 25 unless you’re running a mail server.

Quick recommendation: For Mailpro’s SMTP relay, configure your application with port 587, your Mailpro username and your SMTP password. Switch to 465 only if your library forces implicit TLS.

Where each port comes from

PortEncryptionStatusUse it for
25None or opportunistic STARTTLSServer-to-server onlyMail-server — not for client submission
587STARTTLS (TLS upgraded after handshake)Recommended for client submissionSending through Mailpro from apps, scripts, devices
465Implicit TLS (encrypted from the start)Widely supported, modernUse when 587 / STARTTLS isn’t available
2525Same as 587FallbackSome hosts block 587 outbound
Don’t use port 25 from your laptop or app Most ISPs block outbound port 25 to fight spam, and even when it works it’s often unauthenticated. Always submit mail on 587 or 465 with credentials.

Is port 587 always encrypted?

STARTTLS upgrades a plain connection to TLS, so technically the first handshake is unencrypted. In practice, every reputable provider (including Mailpro) requires the upgrade and refuses to deliver if it fails. Detail: is port 587 always encrypted. Background: port 465 vs 587.

Where to find the right values for Mailpro

Mailpro’s SMTP host, port, username and password are listed in your account settings. See where to find the SMTP server. Authentication details: SMTP authentication. To pick the right SMTP server type for your use case: SMTP server type.

Configure your sender once and forget it

Use port 587 with STARTTLS, the SMTP host shown in your Mailpro account, and SMTP authentication. Need step-by-step? See how to send emails with the SMTP server.

Previous question

   

Next question

You might also be interested in:

How to Fix Error 552 (Storage Limit Exceeded)

SMTP error 552 means the destination has refused the message because it exceeded a storage or size limit. Two distinct...

Read more

What Is SMTP Error 554 and How to Fix It?

SMTP error 554 is a permanent rejection: the recipient server refused to accept your email. The good news? Once you...

Read more

How to Solve Error 550 (Requested Action Not Taken – Mailbox Unavailable)?

SMTP code 550 is a hard bounce: the receiving server has refused the message. The text right after the code...

Read more

How to Fix Error 451 (Local Policy Violation or Greylisting)

SMTP error 451 is a soft bounce: the receiving server is asking to try again later. The two most common...

Read more

How to Fix Error 530 (Authentication Required)

SMTP error 530 means: I won’t accept your message until you log in. The server is asking for authentication and...

Read more

Unleash the Power of Professional Email Marketing

Secure, scalable, and built for impact. Join Mailpro™ today and enjoy 500 free credits to send your first campaign.
Start Sending for Free