Hi,
I use javamail to read message in a public folder on a MS Exchange
server. (It's simple: instead of "Inbox" you give it "Public Folders/My
Folder".)
However, accessing some messages fails. Trying to get the subject or
the sent date, etc throws an exception with a message something like (I
apologize me for not remembering exactly, I can only get this on my
intranet - which I am not right now):
Unable to open MAPI envelope.
Can you suggest what might be causing this problem? Out of every 100
emails this happens to about 5 emails. When I inspect those emails via
Outlook, I don't see anything special about them.
Thank you so much in advance
Aaron Fude
Nuevo - 09 May 2006 16:52 GMT
Check the message type. An email is type ipm.note but there are other
possible types that might be having problems with like IPM.Post
Nue
> Hi,
>
[quoted text clipped - 16 lines]
>
> Aaron Fude
jennifer.grinfeld@gmail.com - 10 May 2006 05:11 GMT
Thanks!
I'm sorry : how do I get the message type? I don't see a getType()
method in Message.
Thanks again!
Aaron Fude