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
© 2022 Courier. All rights reserved.