如何使用C#asp.net发送条件体 [英] How to send Conditional Body using C# asp.net

查看:99
本文介绍了如何使用C#asp.net发送条件体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#asp.net发送条件体。



Ex。



我正在开发在线休假申请。



以下是我的格式。

How to send Conditional Body using C# asp.net.

For Ex.

I am developing Online Leave Application.

Following Is My Format.

Mail_To : XXXX
Mail_From :XXXX
CC_TO: XXX

Subject : XXXXXX

Body :  Dear Sir,
I hereby wish to apply for PL leave from 01/01/2014 to 01/01/2014(1) days as .
I request you to kindly grant me leave for the same.

"Approve"  "Reject"



Mail_To& CC_TO将一次收到上述邮件内容。但我想在CC_TO邮件中隐藏/删除批准和拒绝按钮。如何?


Both Mail_To & CC_TO gonna receive the above mail content at a time. But I want to hide/remove Approve and Reject Buttons in CC_TO mail. How to?

推荐答案

据我所知,没有办法向CC地址发送消息,该消息与发送给该消息的消息有任何不同。主要收件人:CC是Carbon Copy的首字母缩写,这里有一点点线索。您可以发送不同的图像的.ASPX文件地址,但即便如此,大多数电子邮件系统会过滤掉图像,以防止垃圾邮件发送者知道地址是实时。



当他们点击并礼貌地拒绝时,你最好处理这个。
As far as I know, there is no way to send a message to a CC address that is in any way different from the message sent to the main addressee: that CC is an acronym for "Carbon Copy" is a slight clue here. You could send .ASPX file addresses for images that would differ, but even then, most email systems filter out images to prevent spammers knowing an address is "live".

You are best handling this when they click and politely refusing at that point.


这篇关于如何使用C#asp.net发送条件体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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