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.
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
View all errors
Send up to 10,000 notifications every month, for free.
Get started for free
Send up to 10,000 notifications every month, for free.
Get started for free
© 2024 Courier. All rights reserved.