Error Guide

Error: SMTP Port 465 Not Working

What's Causing This Error

This error occurs when the SMTP server does not accept connections on port - 465. Port 465 is a deprecated standard for SMTP, so most SMTP servers block connections made using this port.

Solution - Here's How To Resolve It

Use port - "587" or "2525" to establish an SMTP connection using TLS. Please note that you can use port "2525" only if port 587 is not available and if your SMTP server supports connections on the port.

1 mail.smtp.port = 587; // use 2525 when 587 is not available

Other Common SMTP Errors (and Solutions)

View all errors

Multichannel Notifications Platform for SaaS

Products

Platform

Integrations

Customers

Blog

API Status

Subprocessors


© 2026 Courier. All rights reserved.