Today my target was to implement various connections for POP3/SMTP email accounts. incuding:
The key requirement here was to have it without java keystore file configured for storing and accepting server certificates. This should work transparently for the user.
Read the full article