Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi Developers ,

I am sending an email from my Application (C#.net). Body of email have 2 buttons approve and Reject ..I want to know whether i can update database on clicking approve or reject button without opening any link to my application.

i get confused so suggest me to i am done this task

What I have tried:

I am sending an email from my Application (C#.net). Body of email have 2 buttons approve and Reject ..I want to know whether i can update database on clicking approve or reject button without opening any link to my application.
Posted
Updated 23-Mar-17 6:38am

1 solution

Without opening a link? No.

Email clients do not allow your message to run any script. This is a very sensible security measure, to prevent malware from executing as soon as it arrives in your inbox.

Your buttons will have to be links to your application, which will open in the user's default web browser.
 
Share this answer
 
Comments
ZurdoDev 23-Mar-17 12:44pm    
+5

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