Hello world!
Is there any samples on how to use ASP.NET built-in templates out of the page, just for rendering text with params. For instance, to build email message.
thanks in advance.
Hello world!
Is there any samples on how to use ASP.NET built-in templates out of the page, just for rendering text with params. For instance, to build email message.
thanks in advance.
You could use the class MailDefinition
Here you have a sample of how to use it.
You could do this by making an ordinary aspx page be the template then having that page pull out querystring values and use them in the response. Then you'd just use http://www.systemnetmail.com/faq/4.8.aspx to call the aspx page.