Reputation: 6286
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?
Upvotes: 4
Views: 3173
Reputation: 34489
Yes, using the Outlook Interop. See these Examples. Be warned it's not a good idea to try this via automation however.
Upvotes: 1