Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

how do we add an asp.net button to email body.my requirement is to add two buttons in email body of outlook and to execute some piece of code when user clicks on each button.

how to create the button? and write the click events for it?
Posted

Your requirement is bollocks. You can't run code-behind from an email. What you can do is create a link in your email which then opens a browser and takes the user there if they click on it. At that point code-behind can be executed.
 
Share this answer
 
ya what i did right now was that.i placed a link button of the site and it takes the user to the site and from there onwards the thing happens in the app.instead of doing that i wanted to do the thing in the email itself by the click of the button
 
Share this answer
 

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