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

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

问题描述

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

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天全站免登陆