Hi can you send a .htm file as the html template using the mailMessage class? I cant seem to work out how to do it?
A:
Hi,
I recommend you to use the String or StringBuilder classes and make your own template subsystem. I mean, just assign the template content to the String, and replace occurrences of tokens by real values.
If you want an example, please see how Drupal offers variables like !username, and so on. If you need code examples, please don't you hesitate posting a comment here.
Hope this helps,
Ramon Araujo
2010-08-27 16:58:51