What's the simplest way of sending an HTML email from within the code-behind file of a custom template? I see that Umbraco has a SendMail method, and that it supports HTML, but I'm not sure it handles the fall back to plain old mail.
I don't think it does. the sendMail-method is very simple. One option is to let the user select what type of email they want, and then hope they make the right choice ;)
Sending Email from Custom Template
What's the simplest way of sending an HTML email from within the code-behind file of a custom template? I see that Umbraco has a SendMail method, and that it supports HTML, but I'm not sure it handles the fall back to plain old mail.
- Mark
I don't think it does. the sendMail-method is very simple. One option is to let the user select what type of email they want, and then hope they make the right choice ;)
I always just use the trusty Old System.Net.Mail. I also use normally grab the text of an email from a Document's bodyText,
is working on a reply...