c# - Render a view for an email in Asp.Net MVC 2 in a background service -
I must submit a view to send an email as an ASP.Net MVC 2.
Using the new HTML method is easy to present a view for the string string and then until you have it inside a controller or a view (where you can access the HTML helper or controller reference) Send me an email as
I should be able to send a delayed email using the background service. I want to present them in the same way as I am in a controller but I can not use HTML Helper or Controller Reference.
I tried to create my own method using the viewpage class and call it the passing method maslef in a stringarititor called it. The problem is that I do not have any visual references to the HTML Assistant, so I can only present those views which do not use HTML support or URL helper.
Any ideas.
Thanks
There is something in MVCContrib that can help you
Comments
Post a Comment