Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Use Javamail and Ristretto

843834Oct 30 2009 — edited Nov 2 2009
Hello, I'm using Javamail Api to do some functions, but to do something I need I have to use Ristretto Api. The problem is that I want to cast javax.mail.Message to Ristretto Message, but I don't get. It's possible do that?

I receive this error: "java.lang.ClassCastException : com.sun.mail.imap.IMAPMessage cannot be cast to org.columba.ristretto.message.Message"
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2009
Added on Oct 30 2009
4 comments
137 views