Sicos1977 / MsgKit

A .NET library to make MSG files without the need for Outlook
206 stars 56 forks source link

Can you make a MsgKitLite based on MimeKitLite? #124

Open gmarbury opened 7 months ago

gmarbury commented 7 months ago

Whenever I add MsgKit to my project it pulls in all the crypto stuff that I'm not wanting anyway. This also seems to mess up the .Net Native Compiler for UWP. I know Xamarin is going away ( basically dead) but being able to save MSG files based on MimeKitLite would be cool, and maybe even bring in MailKitLite so you can send them. As an alternative, can you give me quick c# function that only requires a reference to OpenMcdf and MimeKitLite to save a MsgFile given a complete MimeMessage ?

Sicos1977 commented 7 months ago

Sure I can look into it... I did not even know there was a MimeKit lite :-)

gmarbury commented 7 months ago

I pulled the code down and saved a copy of MsgKit.csproj as MsgKitLite.csproj in the same folder changing only the nuget reference from MimeKit to MimeKitLite and everything just compiled as is.

Sicos1977 commented 7 months ago

I'm probably going to make a separate package with the conversion class in it so that we get rid of the mimekit dependency in MsgKit.