Platform
Docs
Solutions
ContactLog In

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

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Get started for free

Email & push notification

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Get started for free

Email & push notification

Platform

Users

Content

Channels

Sending

Workflows

Preferences

Inbox

Workspaces

Observability

API Status

Changelog

© 2024 Courier. All rights reserved.