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!

creating .msg file for MS Outlook

843830Dec 15 2003 — edited Apr 30 2006
Hi,

I need to create a ".msg" file, so that some users can click on the message, and it opens up in MS Outlook. Has anybody successfully done this using the JavaMail APIs?

Using the writeTo method (ie: message.writeTo(fileOut); ), I was able to create a file. However, when I try and open it in Outlook, it won't open. I compared my file to a message that I saved using Outlook, and their msg file has a ton more stuff. It looks like all of the headers are encrypted.

If anybody has done this, and could provide some input, that would be fantastic!

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2006
Added on Dec 15 2003
11 comments
3,461 views