用于创建具有合并能力的电子邮件模板的好库 [英] Good Library for Creating E-mail Templates with Merge Ability

查看:20
本文介绍了用于创建具有合并能力的电子邮件模板的好库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个非常好的库/组件/框架来为我的网络应用程序创建电子邮件模板.

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:

  • 激活您的帐户
  • 欢迎
  • 感谢您的订购

我想为我的网络应用程序的非技术管理员提供一种方法:

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

  • 查看当前的电子邮件模板(HTML,所见即所得)
  • 对文案、颜色等进行一些小修改.
  • 预览、测试、保存和部署"新版本的电子邮件模板.

该工具需要支持合并"字段.例如,请参阅 MailChimp.com.它们允许用户创建电子邮件模板,然后指定任意数量的字段,如下所示:|FIELD1||FIELD2|

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

有人知道这样的工具可以插入我的 ASP.NET/C# Web 应用程序吗?我假设有人写了一个库/组件/我可以许可的东西.

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.

谢谢!

推荐答案

试试这个.它是免费和开源的:

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

http://mailsystem.codeplex.com/

它包括一些专门为邮件合并设计的类

It includes some classes specifically designed for mail merging

很好的是,您可以使用它的邮件合并功能,并且仍然使用 system.net.mail 发送电子邮件以避免破坏您的代码.

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.

这篇关于用于创建具有合并能力的电子邮件模板的好库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆