Good Library for Creating E-mail Templates with Merge Ability

感情迁移 提交于 2019-12-05 05:41:35

问题


I'm looking for a really good library/component/framework for creating e-mail templates for my web application.

We send out a number of e-mails on a regular basis:

  • Activate Your Account
  • Welcome
  • Thanks for Your Order
  • Etc.

I'd like to give the non-technical administrators of my web app a way to:

  • See the current e-mail template (HTML, WYSIWYG)
  • Make some minor modifications to copy, colors, etc.
  • Preview, Test, Save, and "deploy" a new version of the e-mail template.

The tool needs to support "merge" fields. For an example, see MailChimp.com. They allow users to create e-mail templates and then specify any number of fields like this: |FIELD1| |FIELD2|

Then, when sending an e-mail, the developer passes-in the appropriate info for each field.

An example:

Hi *|FIRSTNAME|*,

Thanks for signing up.  You rule!

Best regards,
MyWebSite.com

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.

Thanks!


回答1:


Try this one. It's free and open source:

http://mailsystem.codeplex.com/

It includes some classes specifically designed for mail merging

What's nice is that you can use its mail merging capabilities and still use system.net.mail for sending the email to avoid breaking your code.




回答2:


Here is another option.

http://ntemplates.codeplex.com/



来源:https://stackoverflow.com/questions/3463809/good-library-for-creating-e-mail-templates-with-merge-ability

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!