Could you please enable SSL encryption on port 587 for custom SMTP server? Currently, the server does not support TLS on this port. However, if the encryption method is set to SSL, the connection works as expected.