Create Micorosft Office Outlook software programmatically

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

i.e. .msg file

Is it possible? If so, how?

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

+4
source share
1 answer

Yes, using Outlook Interop. See Examples . Be careful not a good idea to try this through automation.

+1
source

Source: https://habr.com/ru/post/1302115/


All Articles