wizalex
02-22-2002, 05:44 PM
U try to install an old routine (Mailit '99) a very good and extremly simple mailing list... All works fine, i add members, but the email never came... Here's the sendemail code:
$sm = "/usr/lib/sendmail";
open (MAIL, "|$sm -t -O ErrorMode=m")
#Lets get some of the important stuff overwith.
print MAIL "Reply-To: $webadminmail\n";
print MAIL "Errors-To: $webadminmail\n";
print MAIL "Sender: $webadminmail\n";
if ($FORM{'priority'} eq "0"){
#Normal Priority (Left for future expansion)
}
elsif ($FORM{'priority'} eq "1"){
#Urgent!
print MAIL "X-PRIORITY: 2 (high)\n";
print MAIL "Priority: Urgent\n";
}
elsif ($FORM{'priority'} eq "2"){
#Not so very important.
print MAIL "X-PRIORITY: 5 (low)\n";
print MAIL "Priority: Low\n";
}
print MAIL "X-Mailer: Uninetsolutions.com MailIt! 99 Mailer\n";
print MAIL "Subject: $FORM{'subject'}\n";
#Where did it come from?
print MAIL "From: $listname <$webadminmail>\n";
print MAIL "To: $formprocdata\n";
print MAIL "$FORM{'body'}\n\n---\nPlease email $removeme if you wish to be removed from this list.\n\n";
close (MAIL);
That gives NO error, but it also don't send the email...
help?
I include the zip file (just as i downlowd it)
$sm = "/usr/lib/sendmail";
open (MAIL, "|$sm -t -O ErrorMode=m")
#Lets get some of the important stuff overwith.
print MAIL "Reply-To: $webadminmail\n";
print MAIL "Errors-To: $webadminmail\n";
print MAIL "Sender: $webadminmail\n";
if ($FORM{'priority'} eq "0"){
#Normal Priority (Left for future expansion)
}
elsif ($FORM{'priority'} eq "1"){
#Urgent!
print MAIL "X-PRIORITY: 2 (high)\n";
print MAIL "Priority: Urgent\n";
}
elsif ($FORM{'priority'} eq "2"){
#Not so very important.
print MAIL "X-PRIORITY: 5 (low)\n";
print MAIL "Priority: Low\n";
}
print MAIL "X-Mailer: Uninetsolutions.com MailIt! 99 Mailer\n";
print MAIL "Subject: $FORM{'subject'}\n";
#Where did it come from?
print MAIL "From: $listname <$webadminmail>\n";
print MAIL "To: $formprocdata\n";
print MAIL "$FORM{'body'}\n\n---\nPlease email $removeme if you wish to be removed from this list.\n\n";
close (MAIL);
That gives NO error, but it also don't send the email...
help?
I include the zip file (just as i downlowd it)