Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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"

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?
Posted
Updated 18-Dec-13 0:31am
v2
Comments
CHill60 18-Dec-13 6:13am    
Not clear. Use the Improve question link to post the code that you're having the problem with

1 solution

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.
 
Share this answer
 
Comments
thatraja 18-Dec-13 6:41am    
5! I don't want to post duplicate

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900