I punched in what I thought was all I needed in the actual code on the "contacts Page" but it's still not working? below is the Mail Form code(in Red) from the page. Does this look like it should function if it was directed to the "MailForm.pl" file correctly?
And I keep hearing about a redirect after the submit buttons pushed? does it look like this is in this code (in red)?
after I hit submit this is what I get "Internal Server Error, The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,(e mail address) and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
Code:
<form id="form" action="web address/cgi-bin/FormMail.pl" enctype="multipart/form-data">
<div class="line"><input type="text" value="name:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="title:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="company name:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="address:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="address cont'd:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="city:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="state:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="e-mail:" onfocus="this.value=''" /></div>
<div class="line"><input type="text" value="phone:" onfocus="this.value=''" /></div>
<div>
<textarea cols="30" rows="40" onfocus="this.value=''">message:</textarea><br />
<a href="#" class="link_3" onclick="getElementById('form').submit()">send</a> <a href="#" class="link_3" onclick="getElementById('form').reset()">clear</a>
</div>
</form>
Code:
# USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '/usr/lib/sendmail -oi -t';
$postmaster = 'info @ mysite . com';
@referers = qw(mysite . com);
@allow_mail_to = qw(info @ mysite . com);
@recipients = qw(info @ mysite . com);
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/css/nms.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: (you @ your . com)
Subject: form submission
Thank you for your form submission.
END_OF_CONFIRMATION
Thanks for any and all help!

