Reputation: 1429
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.
Upvotes: 1
Views: 269
Reputation: 6659
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.
Upvotes: 0
Reputation: 68400
You could use the class MailDefinition
Here you have a sample of how to use it.
Upvotes: 1