|
Matt's Script Archive offers a terrific free
mail form script by for use with your domain account.
Once you've created your form and added all the options that you'd
like to include on your page, add the following to your .html document.
Change
username to reflect your domain username and domain.com
to reflect your domain name.
Start by
obtaining your own copy of FormMail.Pl from Matt's Script
Archives and placing the file formmail.pl in your CGI
directory. (/domain/domain/public_html/cgi)
Once formmail.pl is installed and configured as noted below,
use WS_FTP or similar FTP program that
offers chmod capabilities to change formmail.pl
file permissions to Owner: Read/Write/Execute; Group:
Read/Execute; Other: Read/Execute
A few system variables in formail.pl must be modified to match the server and your domain.
The first line is the path to perl and should read:
#!/usr/bin/perl
The next variable is for sendmail and should read:
$mailprog = '/usr/sbin/sendmail';
Enter your domain to the line:
@referers = ('yourdomain.com');
And make sure the following line exists:
@recipients = @referers;
There are a few other options available that you can learn about by reading the documentation
on FormMail at Matt's Script Archive.
<CENTER>
<FORM METHOD="POST" ACTION="/cgi/formmail.pl">
<INPUT NAME="recipient" type="HIDDEN" value="username@domain.com">
<P>
<INPUT NAME="subject" type="HIDDEN" value="Enter Form Subject Here">
<P>
E-Mail Address
<BR>
<INPUT NAME="sender" TYPE="text" SIZE=40>
<P>
<INPUT NAME="Send" TYPE="submit" VALUE="User Configurable">
</FORM>
</CENTER>
These basic
features display as:
Copyright © 2000 IMBRIS, Inc., All Rights Reserved
No part of this website may be duplicated or used in any way
without prior consent.
|