Hello @K. Kong
Thanks for brining this to my attention.
The SSL: WRONG_VERSION_NUMBER
error means a mismatch between the SSL/TLS versions supported by the client and the server. In your case, it seems like there might be an issue with the SSL configuration in your SMTP settings.
The first thing I would look into the SSL setting. You have SSL set to true
in your SMTP settings. However, port 587 is typically used for StartTLS, which begins with an insecure connection that is upgraded to a secure connection using TLS. If the server is expecting a plain text connection which will then be upgraded to SSL/TLS via the STARTTLS command, this could be causing the issue. You might want to try setting "ssl": false
and see if that resolves the issue.
The second thing to look into, is the port number. The port number you’re using (587) is typically associated with StartTLS, as mentioned above. If you want to use SSL/TLS from the start of the connection, you might want to try using port 465
Lastly, check your credentials. While the error message suggests an issue with the SSL/TLS version, it’s always a good idea to double-check your credentials. Make sure the "user"
and "password"
fields in your SMTP settings match the credentials provided by Azure Communication Services
If you have further questions, please let us know.
-Grace