Thread: Form Mailer
View Single Post
  #2 (permalink)  
Old 01-20-2003, 05:16 PM
utimer utimer is offline
Member
 
Join Date: Jan 2003
Location: Netherlands
Posts: 75
Send a message via MSN to utimer
Default

The most simple thing is to make an php page which mails:
the form would be
Code:
<form method="POST" name="Test_Form" action="mail.php">
the content of the mail.php file would be:
Code:
<?PHP // first we give in the internal names for php // this are just examples. If you got more fiels, add more lines. // syntax of a line: // $internalname = $HTTP_POST_VARS["name of field in html form"]; $mailadres = $HTTP_POST_VARS["mailadres"]; $question= $HTTP_POST_VARS["question"]; mail($mailadres,"title of mail","your message. include form fields by typing the internal name (for example $question)". ?>
NOTE: This is a very simple sample. If you need more or if you have questions you can just mail them.
Reply With Quote