Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in sending mail using ssl server  RSS feed

Rahul somanath
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!