smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
582 stars 178 forks source link

Use MailKit/MimeKit instead of System.Net.Mail #151

Open spacecat opened 9 years ago

spacecat commented 9 years ago

I have been Googling and trying to solve a problem with MailMessage.SubjectEncoding for days.

Apparently System.Net.Mail is a bit broken and doesn't encode the subject line in email messages properly so Hotmail displays some of my emails with weird characters. People have files bugs on Microsoft and there are lots of libraries (free and commercial) trying to adress all the issues with Sysytem.Net.Mail.

I was hoping by cloning the repo to swap the System.Net.Mail stuff with MailKit/MimeKit but after looking at the code it would not take me hours but probably days to figure it out and since I'm currently on a tight dealine i a project it is not possible for me to do this right now.

So I am wondering: how difficult is it to swap all the System.Net.Mail stuff and use MailKit/MimeKit instead?

MailKit/MimeKit seems to be the best open source option at the moment by the way.

If someone is able to make the swap I would be happy to help with the testing.