tags:

views:

162

answers:

1

I want to create the Microsoft Office Outlook message programmatically...

i.e. the .msg file

Is it feasible? If yes, how?

I know about System.Net.Mail namespace and can create an object of MailMessage class. But how can I create a .msg file using this object?

A: 

Yes, using the Outlook Interop. See these Examples. Be warned it's not a good idea to try this via automation however.

Ian