crossvertise / ActionMailerNext

Fork of ActionMailer.Net, A easy to use library to generate emails with razor views
MIT License
42 stars 24 forks source link

Mail subject encoding problem #20

Open OhKevin opened 8 years ago

OhKevin commented 8 years ago

image

I used Gmail SMTP but the subject text is broken. I want to change the MailMessage's subject encoding but there is no way to change it. I think it's better to make properties for body encoding and subject encoding on the MailAttribute object.

surrealist commented 8 years ago

I've got this problem too. How to solve this?

surrealist commented 8 years ago

I found this code but not sure what will happen if change SubjectEncoding to UTF-8. I'll try later.

https://github.com/crossvertise/ActionMailerNext/blob/f45df6f64ef8afff1ada18619b7cb948507fb749/src/ActionMailerNext/Implementations/SMTP/SmtpMailSender.cs#L63

NUNJax commented 6 years ago

How have you solved a problem?