Forum Moderators: coopster & phranque

Message Too Old, No Replies

Email Form

Need help on email form

         

Bryan

2:52 pm on Oct 26, 2003 (gmt 0)

10+ Year Member



Hi there,
I want to have a customer fill in the below form with their email address and then when 103@mysite.com receives the email I want to be able to send my autoresponder to the email address in the form, I am able to do this if I send an email from my mailbox, but if I enter email address into form, message goes to 103@mysite.com, autoreponder goes to my (admin address) me@mysite.com How do I correct this? Any suggestions would be helpful. Below is the code that I use.

<FORM action=/cgi-bin/fmail.pl method=post><INPUT type=hidden value=1003@mysite.com name=recipient> <INPUT type=hidden value="Email Form" name=subject> <INPUT type=hidden value=http://www.mysite.com/formmail/thankyou.html name=redirect> <BR>&nbsp;<INPUT style="BACKGROUND-COLOR: #ffffa0" size=30 name="email"><FONT face=Arial,Helvetica>Email Address</FONT> <BR>&nbsp;
<P><INPUT type=submit value="Submit Form"> <INPUT type=reset value="Reset Form"></FORM>

Thanks,
Bryan

jamesa

5:29 pm on Oct 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need a FROM address in there. Check the CGI script, or its documentation if any, to get the field name to use in your form (assuming it's written to accept a FROM address, of course).

HTH