How to convert .msg to .eml

Hi,
Can anybody tell me how to convert a .msg file to .eml file. I could save a MailItem object as a msg file, but I need it to be .eml file.
Is there a free 3rd party util or in built util ?

[203 byte] By [Upulab] at [2007-12-16]
# 2
Hi Amal,
Thanks for the url.
I'm writing a c# program to read a PST file and save the emails in .eml format. So in this case I need to save C# MailItem object as an eml file. The freeware I downloded from the url is an outlook add-in. I will need a program (an exe) or a library (dll), that is capable of converting .msg to .eml.

Any help ?

Thanks.

Regards.
upul

Upulab at 2007-8-21 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 3
Hello upul,

*.Eml *.Email are essentially plain text SMTP/MIME messages, while *.msg is a binary MAPI message [built on COM/structure-storage].

If you search on MSDN for the SMTP Mail APIs, you should be able to find a solution for mapping your existing Outlook mail object model to an SMTP message.

For example, I would start in the System.Net.Mail namespace: http://msdn2.microsoft.com/library/dk1fb84h(en-us,vs.80).aspx

Please feel free to post back to this forum if you found a solution to your issue, or have more technical details or questions.

Thanks,
Stephen
http://blogs.msdn.com/stfisher

StephenFisher-MS at 2007-8-21 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified