If your question is , the short answer is:

  • use with STARTTLS for most application senders
  • use only if provider requires implicit TLS
  • use as alternate submission port when supported
  • avoid for app submission in most cloud setups

Fast decision table

SituationRecommended port
Standard authenticated app sending
Provider explicitly requires SMTPS
blocked by network/provider
Server-to-server relay use case

Why 587 is usually the default

Port is designed for authenticated message submission and supports STARTTLS upgrade.

This usually provides better compatibility for app senders than relying on port .

TLS pairing rules to avoid mistakes

  • -> STARTTLS
  • -> implicit TLS
  • -> relay scenarios, often restricted for application egress

Related references:

Validate before production rollout

Use this sequence:

  1. Validate connection and TLS negotiation.
  2. Validate SMTP auth and sender policy posture.
  3. Validate inbox outcomes with real receive-side assertions.

Recommended workflow pages:

FAQ

Can I always use port 25?

Usually no for app-level submission. Many providers and networks restrict it.

Is 2525 an official standard port?

It is commonly supported as an alternate submission port, but support depends on provider.

Why does sending fail only in production?

Production environments often enforce stricter egress, TLS, and auth requirements than local setups.

Next steps