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

Need help. I am generating a email content with HTML and form attribute like post.
This email was send to a person for approve. So all the person has to do is to click the submit link or button on the email to trigger the post method to open up the pop up in a new window and get the hidden value from the email html content.

I tried that the button will not be display in the email so i switch to link. However it still did not work.

<form id ="form-id"  method="post" target="_blank" action="http://localhost:49767/UserAccessSetup.aspx"><br />
<a href="#" önclick="document.getElementById('form-id').submit();">Acknowledge</a><br />
</form><br />

Can advise on it?

Thanks Alot guys
Posted
Updated 23-Jun-13 20:39pm
v2

1 solution

Modern email clients won't allow active content in the email for security considerations. And that is good. You will have to live with it.
You need to do it with simple links, not form. Just generate a random id associated with the content to be approved, and use it in the link.
 
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