Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form within email body

Status
Not open for further replies.

KSiva

Programmer
Feb 18, 2002
63
AU
Hi, I wonder if I can send a html form within email body so the guy who receive at the other end, can fill up and submit the form within their email client?

Sivakumar Kandaraj :)
System Administrator,Web Programmer
Melbourne
Australia.
 
You title should tell you that is not possible.



[sup]-------- __@ __@ __~@
----- _`\<,_ _`\<,_ _`\<,_
---- (*)/ (*) (*)/ (*) (*)/ (*)
[/sup]
 
I've done this before, you just have to have the "action" in your form point to somewhere on your web site to be processed.
Code:
<form action="[URL unfurl="true"]http://www.mysite.com/formprocessor/"[/URL] method="post">



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
I'm using formmail.asp and though I've set the action to the script on my server as you mention, I'm having a problem with "referers" - the permitted URLs from which the form can be submitted.

Is there a way around this?

Thanks
 

You could send a unique ID to each recipient of the email, stored in a hidden form field. When the form is submitted, you can match the ID with the senders email address, and ignore it if it differs from what you expect.

This will also let you control (and tell) how many times things have been responded to.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top