jamamail api imap over ssl

Put your problem here if it does not fit any of the other categories.

jamamail api imap over ssl

Postby kazy » Tue Mar 15, 2011 8:09 am

Hello all,
I am trying to get my Exchange emails using javamail api for android from here: http://code.google.com/p/javamail-android/

I have successfully puled google and yahoo emails through imap protocol but when comes to exchange I got 03-14 12:46:13.698: WARN/System.err(281): javax.mail.MessagingException: Not trusted server certificate;

The problem is that my exchange server has self signed certificate and because of that I have to implement in my connections a TrustAllSSLSocketFactory class. The problem is that I don't know how can I do that with javamail api using imap.

I have found some examples on the internet but all are using smtp ... and I don't know how to do it in imap... can somebody help me please?

Thank you!
kazy
Freshman
Freshman
 
Posts: 4
Joined: Tue Mar 15, 2011 7:56 am

Top

Re: jamamail api imap over ssl

Postby kazy » Wed Mar 16, 2011 8:55 am

No idea?

Please help me solve this issue.
kazy
Freshman
Freshman
 
Posts: 4
Joined: Tue Mar 15, 2011 7:56 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 18 guests