I have got the javamail working with user, encryption, and authentication. This is how I set up the system properties and connect when authentication and encryption are present.