Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you make a MsgKitLite based on MimeKitLite? #124

Open
gmarbury opened this issue Apr 22, 2024 · 3 comments
Open

Can you make a MsgKitLite based on MimeKitLite? #124

gmarbury opened this issue Apr 22, 2024 · 3 comments
Assignees

Comments

@gmarbury
Copy link

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 Sicos1977 self-assigned this Apr 24, 2024
@Sicos1977
Copy link
Owner

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

@gmarbury
Copy link
Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants