简体   繁体   English

在开发和测试环境中创建.eml文件

[英]Create .eml file in Development and Test Environment

The email templates are stored in database tables and we used SmtpClient to send e-Mail. 电子邮件模板存储在数据库表中,我们使用SmtpClient发送电子邮件。 Code is developed with C#.Net. 代码是用C#.Net开发的。 Now client is requesting to create .eml file in the Development and other environments? 现在客户端正在请求在Development和其他环境中创建.eml文件?

I want to know, 我想知道,

What is the need to creating .eml file in the different environments? 在不同的环境中创建.eml文件有什么需要? What benefits will get based on the .eml file? .eml文件将带来什么好处?

Use directory delivery mode by specifying specifiedPickupDirectory as deliveryMethod for the <smtp> configuration section in your app/web.config. 通过将specifiedPickupDirectory的PickupDirectory specifiedPickupDirectory为app / web.config中<smtp>配置部分的deliveryMethod来使用目录传递模式。 Email files created are in .eml format. 创建的电子邮件文件为.eml格式。 Details here . 详细信息在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM