smsohan/MvcMailer

Mvcmailer body is corrupted / encoded wrong

Opened this issue · 0 comments

Im not sure what is going on. I am sending an email via gmail. The email is body is html. When I receive the email gmail shows the body as plain text. Moreover the html looks to be corrupted.

For example my my plain text date paragraph looks like :
Date :<$F$>8/31/2013 1:41:16 AM<$G$>;

When my view looks like : (I replaced my <> with [])
[p]
[b]Date :[/b]@Model.Order.CreatedOn;
[/p]

What is going on ?

My send method looks like http://pastebin.com/29P7Hmeu
My view looks like http://pastebin.com/MgVjTrJE
my output looks like http://pastebin.com/B2XaeXRs

Update
After spending the day playing with encoding, I notice this is an issue with all emails using the Gmail html client. Im not sure if I should drop this issue as it is not a problem with Mvcmailer, or to keep it open because gmail is important.