smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
585 stars 176 forks source link

Assign View Markup from String #140

Open NVentimiglia opened 9 years ago

NVentimiglia commented 9 years ago

I have a situation where I need to send emails with a dynamic body. The model remains the same but the markup will be pulled from a database string. Simply put, I want to give my users the ability to push Razor views and when the time comes use their uploaded razor syntax.

Is this currently possible ? How would I go about implementing this ?