wood burning stoves 2.0*
The moose likes Java in General and the fly likes Error in sending mail using ssl server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Error in sending mail using ssl server" Watch "Error in sending mail using ssl server" New topic
Author

Error in sending mail using ssl server

Rahul somanath
Greenhorn

Joined: Jul 12, 2010
Posts: 19
Hi All

Please help in resolving the below issue i am getting the following error while sending mail. I am using the IMAP server and it is ssl configured



Below is the source code of the program.



I have also added the certificate to my keystore using the following command and still i am facing this issue.

keytool -import -trustcacerts -alias root -file mail_test_com.crt -keystore keystore.jks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in sending mail using ssl server