title: Good Library for Creating E-mail Templates with Merge Ability
body: <p>I'm looking for a really good library/component/framework for creating e-mail templates for my web application.</p>
  
  <p>We send out a number of e-mails on a regular basis:</p>
  
  <ul>
  <li>Activate Your Account</li>
  <li>Welcome</li>
  <li>Thanks for Your Order</li>
  <li>Etc.</li>
  </ul>
  
  <p>I'd like to give the non-technical administrators of my web app a way to:</p>
  
  <ul>
  <li>See the current e-mail template (HTML, WYSIWYG)</li>
  <li>Make some minor modifications to copy, colors, etc.</li>
  <li>Preview, Test, Save, and "deploy" a new version of the e-mail template.</li>
  </ul>
  
  <p>The tool needs to support "merge" fields.  For an example, see <a href="http://www.mailchimp.com/resources/merge/" rel="nofollow noreferrer">MailChimp.com</a>.  They allow users to create e-mail templates and then specify any number of fields like this:
  <em>|FIELD1|</em>
  <em>|FIELD2|</em></p>
  
  <p>Then, when sending an e-mail, the developer passes-in the appropriate info for each field.</p>
  
  <pre><code>An example:
  
  Hi *|FIRSTNAME|*,
  
  Thanks for signing up.  You rule!
  
  Best regards,
  MyWebSite.com
  </code></pre>
  
  <p>Does anyone know of a tool like this that can plug into my ASP.NET / C# web app?  I assume someone out their wrote a library/component/something that I can license.</p>
  
  <p>Thanks!</p>