Can antone help? I can't get this form to work.
Is there something obvious that is missing or
not right.
----------------------
# Use the cgi unit
use cgi;
# Get the values from the form
$form = new CGI;
$subject="MOT Booking";
$tome="mot\@station-garage.net";
$fromme="Customer request";
$server="smtp.station-garage.net";
$server="smtp.station-garage.net";
$make=$form->param('make');
$model=$form->param('model');
$regnumber=$form->param('regnumber');
$fuel=$form->param('fuel');
$lastname=$form->param('lastname');
$firstname=$form->param('firstname');
$address1=$form->param('address1');
$address2=$form->param('address2');
$city=$form->param('city');
$county=$form->param('county');
$postcode=$form->param('postcode');
$month=$form->param('month');
$date=$form->param('date');
$year=$form->param('year');
$time=$form->param('time');
$std=$form->param('std');
$number=$form->param('number');
$email=$form->param('email');
$lt='<';
$gt='>';
# Save the message into a text file
open (messtxt,">message.txt"
print messtxt ($make, "\n"
print messtxt ($model, "\n"
print messtxt ($regnumber, "\n"
print messtxt ($fuel, "\n"
print messtxt ($lastname, "\n"
print messtxt ($firstname, "\n"
print messtxt ($address1, "\n"
print messtxt ($address2, "\n"
print messtxt ($city, "\n"
print messtxt ($county, "\n"
print messtxt ($postcode, "\n"
print messtxt ($month, "\n"
print messtxt ($date, "\n"
print messtxt ($year, "\n"
print messtxt ($time, "\n"
print messtxt ($std, "\n"
print messtxt ($number, "\n"
print messtxt ($email, "\n"
close messtxt;
# Build the Blat command line and execute it
$blat="blat.exe message.txt -s \"$subject\" -t \"$tome\" -f \"$fromme\" -server $server\" ";
system($blat);
print "Location: print "Location: print "Location:
Is there something obvious that is missing or
not right.
----------------------
# Use the cgi unit
use cgi;
# Get the values from the form
$form = new CGI;
$subject="MOT Booking";
$tome="mot\@station-garage.net";
$fromme="Customer request";
$server="smtp.station-garage.net";
$server="smtp.station-garage.net";
$make=$form->param('make');
$model=$form->param('model');
$regnumber=$form->param('regnumber');
$fuel=$form->param('fuel');
$lastname=$form->param('lastname');
$firstname=$form->param('firstname');
$address1=$form->param('address1');
$address2=$form->param('address2');
$city=$form->param('city');
$county=$form->param('county');
$postcode=$form->param('postcode');
$month=$form->param('month');
$date=$form->param('date');
$year=$form->param('year');
$time=$form->param('time');
$std=$form->param('std');
$number=$form->param('number');
$email=$form->param('email');
$lt='<';
$gt='>';
# Save the message into a text file
open (messtxt,">message.txt"
print messtxt ($make, "\n"
print messtxt ($model, "\n"
print messtxt ($regnumber, "\n"
print messtxt ($fuel, "\n"
print messtxt ($lastname, "\n"
print messtxt ($firstname, "\n"
print messtxt ($address1, "\n"
print messtxt ($address2, "\n"
print messtxt ($city, "\n"
print messtxt ($county, "\n"
print messtxt ($postcode, "\n"
print messtxt ($month, "\n"
print messtxt ($date, "\n"
print messtxt ($year, "\n"
print messtxt ($time, "\n"
print messtxt ($std, "\n"
print messtxt ($number, "\n"
print messtxt ($email, "\n"
close messtxt;
# Build the Blat command line and execute it
$blat="blat.exe message.txt -s \"$subject\" -t \"$tome\" -f \"$fromme\" -server $server\" ";
system($blat);
print "Location: print "Location: print "Location: