Hi... I have been having problems getting sendmail to work. 5 hours and counting. Here's what I have:
use CGI qw/:standard/;
$mail_prog = "/usr/sbin/sendmail";
print "Content-type: text/html\n\n";
open (MAIL, "|$mail_prog -t");
print MAIL "To: $to\n";
print MAIL "Reply-to: $from\n";
print MAIL "From: $from\n";
print MAIL "Subject: ".$subject."\n";
print MAIL "\n\n";
print MAIL "
Just a reminder that membership fees are due on the first of each month...
It has to be something simple, because I am using a scrip that worked in the past and I just can't spot the error(s)... thanks!