Sort of got this working. If I build the body of the email like this
[code]
[/code]
The html is not stripped out. Thankfully my email is small but i guess with a big email it will look a bit messy. If anyone can shed light on why calling a template to build the email doesnt work that would be most helpful.
sendmail ignoring html
Guys,
I am using umbraco v4. In my xslt i have a simple form which upon submission sends an email. My email code looks like this
[code]
[/code]
The email gets sent however html is stripped out. I have tried a number of email clients but the html is always stripped out. Anyone any ideas?
Regards
Ismail
Guys,
Sort of got this working. If I build the body of the email like this
[code]
[/code]
The html is not stripped out. Thankfully my email is small but i guess with a big email it will look a bit messy. If anyone can shed light on why calling a template to build the email doesnt work that would be most helpful.
Regards
Ismail
Hi Ismail, I guess you could just keep everything but the xslt-functions inside CData-tags:
http://our.umbraco.org/forum/using/ui-questions/5963-How-to-keep-html-tags-in-a-variable-%28For-use-with-Sendmail%29?p=0#comment21544
Also have a look at Jukka-Pekkas OuterXml-solution in that thread.
is working on a reply...