Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Error when reading emails on a public folder on Exchange

Thread view: 
aaronfude@gmail.com - 09 May 2006 16:36 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.