Email Templates using Razor Engine

Razor Engine allows you to use Razor syntax to build robust email templates. We need to know your opinion about that! Make any sense modify the email templates to Razor Syntax? Leave us a message how important is this feature in you ZB software.

More about Razor Engine:


  string template = 
        <title>Hello @Model.Name</title>
        Email: @Html.TextBoxFor(m => m.Email)
  var model = new PageModel { Name = "World", Email = "" };
  string result = Razor.Parse(template, model);
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *