c# - ActionMailer.Net Email Encoding -


i using actionmailer.net package asp.net mvc.

it seems email template isn't encoded.

html tags rendered plain text, in email receive content (snipped):

<meta http-equiv="content-type" content="text/html; charset=utf-8" />  <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="backgroundtable">  

my view called mymail.html.chstml should encoded html , not text, according actionmail.net documentation.

why not encoded?

i found problem, , strange...

when run project in visual studio 2012 - works fine , email encoded.

but when open in visual studio 2013 - html tags not encoded , rendered plain text.

when published live server works perfectly.

so, solution use vs 2012 until know why breaks in 2013.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -