C#

README.md

RazorEngineEmails

This is the accompanying code for the Generating HTML emails with RazorEngine blog post series.

Quick description of each project:

  1. Introduction
  2. Basics: generating your first email
  3. More Basics: caching, VS integration & namespace config
  4. Taking a step back: what is Razor and what does RazorEngine actually do?
  5. URL generation & T4MVC integration with RazorEngine (TBD)
  6. Layouts with RazorEngine (TBD)
  7. Partials with RazorEngine (TBD)
  8. On keeping your sanity: inlining CSS with PreMailer.Net (TBD)
  9. Getting a little help from CsQuery: including subject, sender and recipient information in your email templates (TBD)
  10. Putting it all together: building a complete email-generation library with RazorEngine, PreMailer.Net and CsQuery (TBD)

Refer to the blog for the details.