NullPointerException was thrown when using IMAP4......
0 posts in topic
Flat View  Flat View

Posted By:   Jason_Knox
Posted On:   Tuesday, August 7, 2001 10:29 PM

I can get subject, from, date received and size, but I can't get the content. Futher more,the getHeader("Subject")
getHeader("From"),etc method will get null.It works if I use POP3 protocol to get the content

Here is the error message
at com.sun.mail.imap.IMAPMessage.getContentType(
at javax.mail.internet.MimeBodyPart.isMimeType(
at javax.mail.internet.MimeMessage.isMimeType(

About | Sitemap | Contact