Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I dont know if its ok to ask this question here. I couldnt find a way to comment on that forum so please suffer me for this once.

I followed a tutorial here http://www.fairnet.com/post/2010/01/27/Email-Template-using-C.aspx[^] about email templates.

However, when i send the email, it doesnt seem to respect the HTML formats in the XML template.

I sent the email to yahoo and gmail. Both deliver without respecting the HTML tags in the XML template. And I did set IsBodyHtml to true. Is there something else i need to do that I am not doing?

Thank you in advance.
Posted

1 solution

 
Share this answer
 
Comments
coommark 24-Mar-11 20:53pm    
Thanks luisnike19. But that is for System.Web.Mail. I am using System.Net.Mail and I did set IsBodyHtml to true, the equivalent of MyMessage.BodyFormat = MailFormat.Html as used in System.Web.Mail

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900