Tag Archives: ssl

Connecting JavaMail to MS Exchange with IMAP and SSl

I was having a RND on how to connect to MS Exchange mail server from Java.

I downloaded JavaMail 1.4.5 from http://www.oracle.com/technetwork/java/javamail/index-138643.html

It contained Java mail library and some demo applications. One of the application was J2EE webapp application. So, I took it for RND. I was working on Win7. To build that application there was batch file. I ran it, but threw some exception. So, i needed to fix my classpath from environment variable.

Read more of this post


Add SSL certificate to JAVA

I needed to use SSL certificate for JavaMail. I took required SSL certificate via browsing my webmail by firefox.

Step 1 : Get the certificate

Read more of this post