Default Port of SMTP Explained Ports 25 465 and 587

Discover the default port of SMTP and why ports 25, 465, and 587 differ. Get best practices, ISP block insights, and MailAdept configuration tips.

Default Port of SMTP Explained Ports 25 465 and 587
Do not index
Do not index
Open rates collapse overnight. Product updates stop getting read. Password resets arrive late or not at all. Sales sequences look “fine” in the ESP, yet Gmail, Outlook, and Yahoo treat the traffic like a threat. A common root cause is brutally simple: the sender used the wrong SMTP port and assumed “default” meant “recommended.”
That mistake hits faster than commonly expected. A SaaS company can launch a major campaign through port 25 because it looks like the historical default, then watch cloud infrastructure block the traffic before mailbox providers even evaluate the content. The fallout isn't limited to one send. Failed submission attempts, poor authentication alignment, and erratic retry behavior can hurt domain trust, reduce inbox placement, and create downstream revenue loss.
Port selection is infrastructure, not a checkbox. It affects whether mail leaves the application securely, whether authentication survives the handoff cleanly, and whether spam filters see a legitimate sender or a sloppy one. Teams that need to verify connectivity before changing settings should use practical network checks such as Fivenines' essential TCP port guide, then fix the submission path before the next campaign goes out.
Table of Contents

Introduction to SMTP Port Challenges

A familiar failure pattern starts with a routine send. Marketing schedules a launch email. Product triggers account notices from the app. Support expects reply traffic to stay clean. Then inbox placement falls apart because the application submits mail through the wrong port.
The operational symptoms are ugly. Messages queue unevenly. Some attempts time out. Others never leave the host. Teams then chase the wrong problem and rewrite subject lines, redesign templates, or blame Gmail's filtering. None of that fixes a broken submission path.
Deliverability gets hit at the infrastructure layer first. When submission is misconfigured, authentication can fail to align cleanly, TLS may not negotiate as expected, and mailbox providers see unstable sending behavior. That instability weakens trust in the sending domain and IP, even if the content itself is solid.
A practical triage checklist helps:
  • Check the submission port first: Confirm whether the app or client is using 587, 465, or 25.
  • Review authentication alignment: Verify SPF, DKIM, and DMARC before sending again.
  • Inspect logs for TLS negotiation: Look for failed handshakes, rejected auth, or fallback attempts.
  • Separate relay from submission: Server-to-server relay and client submission are not the same thing.
Teams that skip this discipline usually end up treating deliverability as a content issue when the fundamental failure sits in transport.

Understanding Default Port of SMTP

The phrase default port of SMTP causes confusion because it describes two different realities. Historically, port 25 was the original SMTP default. Operationally, modern senders should treat port 587 as the default for authenticated email submission.
notion image

What the default actually means

The original and historical default SMTP port is port 25, established by the IETF in 1982 as the standard transmission channel for Internet email between mail servers. Over time, ISPs blocked port 25 for outbound client submission to curb spam, making it unreliable for marketers and app developers.
That change forced a split between two jobs:
  1. Relay between mail servers
  1. Submission from clients and applications
The submission role moved to port 587, officially defined in RFC 2476 (1998) and later updated in RFC 6409. That separation matters because client submission needs authentication and encryption. Relay traffic has a different operational purpose.

Why the distinction matters for deliverability

A sender using port 25 from an app, CRM, WordPress site, or outbound platform is making an old protocol assumption in a modern filtering environment. Gmail, Outlook, and Yahoo don't reward historical correctness. They reward secure, authenticated, predictable behavior.
That's why the practical guidance is simple:
  • Use port 25 only for server-to-server relay
  • Use port 587 for authenticated client or application submission
  • Treat “default” as context-dependent, not as a universal recommendation
Many teams inadvertently damage deliverability by following the literal definition of SMTP default, ignoring the submission context, and sending from infrastructure that mailbox providers already view with suspicion.

Differences Between Ports 25 465 and 587

Not all SMTP ports carry the same reputation risk. They also don't support the same security model. Choosing the wrong one creates connection issues first, then deliverability issues right after.
The key fact is straightforward. The default port for SMTP message submission is port 587, defined in RFC 2476 (1998) and updated in RFC 6409, to separate client email submission from server-to-server relay and enforce STARTTLS encryption.

SMTP Ports Comparison

Port
Use Case
Encryption
ISP Block Risk
25
Server-to-server SMTP relay
Can be unencrypted or upgraded depending on setup
High for outbound client submission
465
Legacy SMTPS fallback
Implicit SSL/TLS
Moderate, depends on provider support
587
Authenticated client and application submission
STARTTLS
Lower than port 25 for submission
Port 25 still exists for a reason. Mail servers need to talk to other mail servers. That does not make it a smart submission port for marketers, recruiters, SaaS products, or outbound teams.
Port 465 sits in the awkward middle. It was historically used for SMTPS with implicit SSL/TLS. Some providers still support it, and some older clients still expect it, but it isn't the modern standard to build around.
Port 587 is the operational standard because it supports authenticated submission cleanly. It also fits how modern mailbox providers expect legitimate email software to behave.

How to choose the right one

A useful decision model looks like this:
  • Application sending transactional mail: Use 587.
  • Sales platform or cold outreach tool: Use 587.
  • Outlook or Thunderbird setup: Use 587 unless the provider specifically requires 465.
  • Mail transfer between servers: Use 25.
  • Legacy client that fails on 587: Test 465 as a fallback.
Bad choice versus good choice:
  • Bad: Web app on port 25 with SMTP AUTH disabled or inconsistently enforced.
  • Good: Web app on port 587 with authenticated submission, STARTTLS, SPF, DKIM, and DMARC aligned.
The “why” matters. Correct submission keeps the transport path stable. Stable transport supports authentication. Clean authentication supports sender trust. Sender trust drives inbox placement.

Configuring STARTTLS and SMTPS

A port choice only helps if the configuration matches the encryption method. The common failure is pairing the right port with the wrong security expectation. That leads to handshake failures, auth errors, or silent submission drops.
notion image

Port 587 with STARTTLS

Port 587 should be configured with STARTTLS. This is the baseline setup for modern email clients, SaaS apps, WordPress plugins, and transactional systems.
A clean client checklist looks like this:
  • Server name: Use the provider's SMTP hostname exactly as documented.
  • Port: Set to 587.
  • Encryption: STARTTLS or TLS, depending on the client label.
  • Authentication: Enable SMTP authentication with the correct username and password or token.
  • From address: Match the authenticated sending domain.
A realistic Outlook-style setup would use:
  • outgoing server enabled for authentication
  • port 587
  • encrypted connection set to STARTTLS or TLS
  • full mailbox or SMTP username as the login identity
A practical Postfix-style pattern is:
  • submission service enabled
  • SMTP AUTH required for clients
  • TLS enabled on the submission service
  • certificate chain installed correctly
For teams reviewing the broader trust stack, strong port settings need to sit beside proper email authentication.

Port 465 as a fallback

Port 465 was deprecated in 1997 as an implicit SSL/TLS port and is no longer an accepted IETF standard, though some providers still support it as a fallback when port 587 is unavailable.
That makes 465 a compatibility option, not a first-choice design decision.
Use it only when:
  • a legacy client can't negotiate STARTTLS correctly
  • a provider explicitly documents 465 support
  • testing confirms 587 is unavailable or incompatible in that environment
Avoid it when:
  • the team is building a new mail flow
  • multiple clients need a standard configuration
  • TLS certificate handling is already inconsistent
The fastest validation method is simple. Test the port, confirm the expected encryption mode, then send a controlled test message and inspect the SMTP transcript for handshake and auth success.

ISP Blocks and Deliverability Impact

The most dangerous misunderstanding in this topic is also the most common one. Teams see “port 25 is the default SMTP port” and configure it for outbound campaigns. That decision fails before content, segmentation, or copy quality even matter.
notion image

What blocked submission looks like

Data shows that 90% of residential ISPs and cloud providers block port 25 by default to reduce spam (Unione). For senders using client submission on port 25, that means delivery failure is not an edge case. It's the expected outcome.
The symptoms usually show up as:
  • Connection timeouts: The app can't open the SMTP session.
  • Hard send failures: The server rejects or drops the submission attempt.
  • Unsent queue buildup: Messages sit in the application and never hand off cleanly.
  • False troubleshooting paths: Teams blame copy, lists, or template rendering.
For teams diagnosing downstream inbox issues after fixing connectivity, this guide on how to check if emails are going to spam is a useful next step.

How reputation damage starts

A blocked or unstable submission path doesn't only suppress volume. It creates inconsistent sending behavior, which mailbox providers treat as risk. That's why transport choices belong inside the bigger discussion of what is email deliverability.
A typical failure chain looks like this:
  1. The app submits on port 25.
  1. The cloud host or ISP blocks or throttles the traffic.
  1. Retry logic becomes erratic.
  1. Authentication and envelope behavior become inconsistent across attempts.
  1. Mailbox providers see unstable signals from the sender.
This is why outbound teams, recruiters, and SaaS platforms should treat port configuration as part of deliverability governance, not as a one-time engineering task.

Best Practices and Configuration Tips

The right position is simple. Port 587 with STARTTLS should be the default for modern submission. Everything else is exception handling.
notion image

The configuration checklist that matters

Port selection alone won't save inbox placement. Industry data indicates that correct port selection alone doesn't guarantee inbox placement. ISPs now weight reputation signals like SPF, DKIM, DMARC, and engagement more heavily than the submission port.
That means the operational checklist has to be stricter:
  • Prioritize 587 first: Set every app, client, plugin, and platform to 587 unless a documented exception exists.
  • Enforce STARTTLS: Don't allow weak fallback behavior if the system supports secure submission.
  • Align authentication: Check the sending domain's spf record, then validate DKIM and DMARC before scaling volume.
  • Review engagement signals: Low engagement can sink a perfectly configured transport setup.
  • Treat 465 as temporary: Keep it for compatibility, not as the foundation of a new sending stack.
Security discipline matters here too. General network security best practices help teams avoid bad firewall rules, weak certificate handling, and unnecessary exposure of mail services.

A realistic submission and authentication workflow

A strong production workflow is boring by design. That's good. Predictable systems protect reputation.
Step 1: Configure the app to submit on 587 with authentication enabled.Step 2: Confirm STARTTLS negotiation succeeds in testing.Step 3: Validate SPF, DKIM, and DMARC alignment on the exact sending domain.Step 4: Send a small internal test to Gmail, Outlook, and Yahoo mailboxes.Step 5: Inspect headers, authentication results, and folder placement.Step 6: Scale gradually only after transport and auth are stable.
A realistic technical example:
  • Bad setup: smtp.example.com, port 25, auth disabled, mixed from-addresses, no clear DKIM signing path.
  • Good setup: smtp.example.com, port 587, STARTTLS enabled, SMTP AUTH enabled, consistent from-address domain, SPF/DKIM/DMARC aligned.
The “why” is what senior teams need to remember. Port 587 gets the message into the proper submission lane. Authentication proves the sender's identity. Engagement and list quality determine whether future messages keep reaching the inbox.
A useful operational checklist for audits:
  • Connection test: Can the host reach the SMTP endpoint on 587?
  • TLS test: Does the server advertise and complete STARTTLS correctly?
  • Auth test: Do credentials succeed without fallback errors?
  • Header review: Are SPF, DKIM, and DMARC producing clean results?
  • Placement review: Are Gmail, Outlook, and Yahoo placing the message in inbox, tabs, or spam?
That's the difference between “SMTP works” and “email performs.”

Common Mistakes to Avoid

Most SMTP port failures are self-inflicted. The team doesn't need more options. It needs fewer bad habits.

Seven errors that keep mail out of the inbox

  • Using port 25 for app submission: Symptom is blocked traffic or timeouts. Fix by moving client submission to 587.
  • Assuming default means best: Historical default and operational best practice are not the same thing.
  • Skipping STARTTLS on 587: The session may connect, but the security posture is wrong and the provider may reject or downgrade trust.
  • Using 465 without a reason: If the client supports 587 cleanly, 465 adds needless compatibility complexity.
  • Authenticating the wrong identity: SMTP login, from-address, and authenticated domain should make sense together.
  • Ignoring certificate problems: Expired or misapplied certificates break trust before delivery starts.
  • Treating port choice as the whole deliverability plan: SPF, DKIM, DMARC, content quality, engagement, and list hygiene still decide long-term inbox placement.
A simple mental check helps. If the mail comes from a person, plugin, app, CRM, or SaaS platform, 587 should be the default assumption. Any deviation needs a documented reason.

Wrapping Up and FAQs

The default port of SMTP is only simple if the team ignores context. Port 25 is the historical default for relay between mail servers. Port 587 is the right default for authenticated client and application submission. Port 465 remains a fallback for compatibility, not a modern first choice.
That distinction has real deliverability stakes. Wrong port selection causes blocked traffic, unstable sending behavior, failed authentication paths, and lower trust at Gmail, Outlook, and Yahoo. Correct submission on 587 is the baseline. It isn't the finish line. Inbox placement still depends on SPF, DKIM, DMARC, engagement, and disciplined sending behavior.

Quick answers

What is the default SMTP port for clients?For authenticated email submission from clients and applications, the correct default is port 587.
Why does port 465 still work in some setups?Some providers and legacy clients still support it as a fallback using implicit SSL/TLS, even though it isn't the preferred modern standard.
How can a team test port connectivity?It can test whether the SMTP host is reachable on the intended port, then verify the expected TLS behavior and authentication flow before sending production mail.
Why do emails still go to spam even when port 587 is set correctly?Because port choice alone doesn't guarantee inbox placement. Authentication, reputation, engagement, and sending patterns carry more weight after secure submission is in place.
When should a company bring in an expert?When campaigns fail despite “correct” settings, when multiple tools send from the same domain, when authentication results are inconsistent, or when sender reputation is already slipping.
Still facing deliverability issues? Get a free audit from Mailadept.

Get expert insights on why your emails go to spam and how to consistently reach the inbox.

Fix Your Email Deliverability Before It Costs You Revenue

Get a Free Deliverability Audit

Written by

Thami Benjelloun
Thami Benjelloun

CEO Mailwarm, email deliverability expert.