PDA

View Full Version : Mail Question


stevan
01-12-2003, 11:57 PM
I have a question


When using the mail script
<form action="http://207.235.6.119/cgi-bin/nmail.pl" method="POST">
<input type=hidden name="to" value="info@cruisewarehouse.cc">
<input type=hidden name="redir"
value="http://www.cruisewarehouse.cc/html/thanks.html">

First is there a way NOT to REDIR just send the mail it seems like you have to on ever script i see???

Second is there a way to when it sends the mail to not send the value="info@cruisewarehouse.cc">
<input type=hidden name="redir"
value="http://www.cruisewarehouse.cc/html/thanks.html">
With the name and email adress ??

Thx Steve

ivy
01-13-2003, 01:27 PM
Hi Stevan

Regarding the redirect - just change the page it is redirecting to the same page you are on! This will then clear the form after it has been sent.

Regarding hiding the email address. This can be done by putting the recipient's email address into the .cgi script. Thus this will ensure that your email address remains confidential.

Look at Matt Wright's formmail (sorry don't have the link but search this forum and it'll be here somewhere) - this will do all you want!