Is there a non-black format for Outlook email?

I want to create an email file on a web server that opens in Microsoft Outlook . It seems that the two formats that come in handy are the .MSG format and the .OFT format.

However, both look like GZIP formats with a bunch of streams. It would be difficult to create on a web server.

Is there an XML format or a text format that I can use to encode a simple email?

If not, is there a free .NET library that can generate email on the fly?

Thanks! Mike

+4
source share
2 answers

I decided to use OpenMCDF to create the file on the fly. This works very well, and it is a decent (and free) environment for working with compact binary files.

0
source

Just use System.Net.Mail and write to the file system:

<system.net> <mailSettings> <smtp deliveryMethod="SpecifiedPickupDirectory"> <specifiedPickupDirectory pickupDirectoryLocation="c:\yourdirectory"/> </smtp> </mailSettings> </system.net> 
+3
source

All Articles