PDA

View Full Version : formmail.pl


John Lavery
11-6-01, 12:21 PM
Hi ppl great job on the forum. I would like to set up a form on my site so that when ppl come to vist it if they want they can emial it to a friend. I am useinf formmail.pl to do theis but I am not having much luck.

<form action="/cgi-bin/formmail.pl" method="POST">
Email address:
<input type="text" name="email" size="25">
<input type="submit" value="Send Webpage">
<input type="reset" value="Reset">

I know I am missing something just not sure what can anyone help me out

Codicus
11-6-01, 02:48 PM
The web page for the FormMail program is at

http://www.worldwidemart.com/scripts/formmail.shtml

Basically all you need is the following


<form action="/cgi-bin/formmail.pl" method="POST">
Email address:
<input type="text" name="recipient" size="25">
<input type="hidden" name="Subject" value="Put the email subject here">
<input type="hidden" name="Message" value="Text of your message">
<input type="submit" value="Send Webpage">
<input type="reset" value="Reset">
</form>

Starr
11-6-01, 03:00 PM
Try and use the Form Mailer script we provide. Just call:

"/powweb-bin/FormMail.pl"

junglerat
11-6-01, 04:11 PM
the path you mention above?

Starr
11-6-01, 04:17 PM
junglerat,

make <form action="/cgi-bin/formmail.pl" method="POST">

look like:

<form action="/powweb-bin/FormMail.pl" method="POST">