Create a template for the email message to be sent when the form is completed.
Your template file might look like this:
---------------------------- Cut here -----------------------
From: wwwserver@yourdomain.com To: sales@yourdomain.com
Subject: Info Request Form Results
The following request was submitted to our Info Request Form at:
[%HTTP_REFERER]
It was submitted from: [%REMOTE_ADDR]
Name: [r_name]
Address: [address]
Company: [company]
Phone: [phone]
Fax: [fax]
E-mail: [re_email]
The would like info about: [infoneeded]
---------------------------- Cut here -----------------------
Note: The From, To, and Subject lines must be seperated from the rest of the lines by a blank line.
They must also contain valid email addresses.
Save this template to a file on your web site, for example:
/html/inforequest/email.txt
|