I have this application I am working on, in which users have to use their own SMTP server details to send emails.
The problem I am encountering is whiles some servers are working with TLS, some don't and rather work with SSL.
My question is,
1. Is there a way to test the connection first by without sending email.
(This can help test both TLS or SSL on the submitted server and port to know which one works)
2. Is there a global connection that supports both tls/ssl?
(Example: All the testing servers are able to work in thunderbird, and other email client applications work with any server. how did they do it?)
The problem I am encountering is whiles some servers are working with TLS, some don't and rather work with SSL.
My question is,
1. Is there a way to test the connection first by without sending email.
(This can help test both TLS or SSL on the submitted server and port to know which one works)
2. Is there a global connection that supports both tls/ssl?
(Example: All the testing servers are able to work in thunderbird, and other email client applications work with any server. how did they do it?)