cancel
Showing results for 
Search instead for 
Did you mean: 

Mailer.cgi !Help Please!

sen10el
Newbie
Posts: 1
Registered: ‎21-11-2007

Mailer.cgi !Help Please!

Help!
I need to mail the results of a form on my webpage
I have a form now and it works but i need to point it at a mailer.cgi script
Now im lost i have no experience with CGI. I dont know how to write this script. Is this a standard script that i can get from the internet or do i have to customise it.
Pleas someone shed some light on this for me. Any help would be much appreciated
Kind Regards
ANdy
2 REPLIES 2
samuria
Grafter
Posts: 1,581
Thanks: 3
Registered: ‎13-04-2007

Re: Mailer.cgi !Help Please!

All you need to do is use Plusnet form and this will email the results to you
Copy this code change the bit that say youremailaddress and put your own email address.
change the from my website to anything you want this is the message subject.
You can add more inputs with any web editor
<form method="post" action="http://homepages.plus.net/cgi-bin/form">
    <p>
      <input type="hidden" name="recipient" value="youremailaddress" />
      <input type="hidden" name="subject" value="From my website" />
      <b>Enter Your Email Address</b>
      <input type="text" name="email" />
      <input type="hidden" name="realname" />
    </p>
    <p><b>Please enter your comments or message here</b></p>
    <p>
      <textarea rows="20" cols="50" name="text area">
</textarea>
    </p>
    <p></p>
    <input name="submit0" type="submit" value="Submit form" />
    <input name="reset" type="reset" value="Clear form" />
  </form>
Portsmouth
Dabbler
Posts: 12
Registered: ‎09-08-2007

Re: Mailer.cgi !Help Please!

Hi Samuria
I had the same problem using the script which now I have got working thanks to your excelllent advice.
It would be quite nice to make the 'Thank You for Filling out this Form' personalised - is there any way to edit this, or do we have to take what is provided.
It would also be nice to have the form refresh after say 15 - 20 seconds back to the sites homepage, rather that just leaving them on the 'Thank You Form'. Is thsi possible.
Thanks