Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JavaMail IMAP Problems

Reply
Thread Tools

JavaMail IMAP Problems

 
 
Sash
Guest
Posts: n/a
 
      06-08-2006
I've encountered a problem with JavaMail and an IMAP server. It seems
that when a message exists on an IMAP server that has null for
recipient field, javamail throws an exception when ever you try to
retrieve any message from the server. Null recipient field gets created
when bcc is used to send an email to a group. Has anyone else
encountered this problem and if so has anyone found a solution. Thanks
in advance for any help you can provide!!!
Here is the important part of the exception that is thrown:
2006-06-08 15:57:17,896 INFO [STDOUT] 15:57:17,895 ERROR
[MessageManager] javax.mail.MessagingException: Failed to load IMAP
envelope
2006-06-08 15:57:17,896 INFO [STDOUT] javax.mail.MessagingException:
Failed to load IMAP envelope
2006-06-08 15:57:17,896 INFO [STDOUT] at
com.sun.mail.imap.IMAPMessage.loadEnvelope(IMAPMes sage.java:1196)
2006-06-08 15:57:17,897 INFO [STDOUT] at
com.sun.mail.imap.IMAPMessage.getSubject(IMAPMessa ge.java:302)

 
Reply With Quote
 
 
 
 
Greg R. Broderick
Guest
Posts: n/a
 
      06-08-2006
"Sash" <(E-Mail Removed)> wrote in
news:(E-Mail Removed) oups.com:

> I've encountered a problem with JavaMail and an IMAP server. It
> seems


Which IMAP server software is this server running? I've found that the
various IMAP servers can, and do have significant differences in how they
interpret the IMAP standard, and thus significant differences in their
behaviour.

> that when a message exists on an IMAP server that has null for
> recipient field, javamail throws an exception when ever you try to
> retrieve any message from the server. Null recipient field gets
> created when bcc is used to send an email to a group. Has anyone
> else encountered this problem and if so has anyone found a solution.
> Thanks in advance for any help you can provide!!!
> Here is the important part of the exception that is thrown:
> 2006-06-08 15:57:17,896 INFO [STDOUT] 15:57:17,895 ERROR
> [MessageManager] javax.mail.MessagingException: Failed to load IMAP
> envelope
> 2006-06-08 15:57:17,896 INFO [STDOUT]
> javax.mail.MessagingException: Failed to load IMAP envelope


I'd also suggest asking about this on the JavaMail mailing list.
Subscription information for this mailing list may be found at
<http://java.sun.com/products/javamail/>.

Cheers
GRB

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing IMAP->GMail proxy... Where to go for IMAP RFC help? Jon Fi Ruby 4 10-21-2006 09:00 PM
Curier-IMAP and imap.create() Henrik Ormåsen Ruby 0 08-19-2006 06:29 AM
Javamail -- IMAP & Multipart/Alternative Tajonis Java 4 02-23-2006 01:30 PM
Quick JavaMail IMAP question MT Java 1 05-17-2004 11:04 AM
JAVAMAIL - IMAP Connection Failure: "* BYE disconnecting" Daniel Albisser Java 2 02-24-2004 02:10 PM



Advertisments