Commit 0c8e5e17 authored by Mac Newbold's avatar Mac Newbold

Move the headers up between from and to. For some reason, some scripts

would have the netbed header not get included as a header, but as the
first line of the body. Moving the headers above the subject fixes it.
parent 01a9b30e
......@@ -75,12 +75,12 @@ sub SENDMAIL($$$;$$@)
if (defined($From) && $From) {
print MAIL "From: $From\n";
}
print MAIL "To: $To\n";
print MAIL "Subject: $tag: $Subject\n";
if (defined($Headers)) {
print MAIL "$Headers\n";
}
print MAIL "X-NetBed: $SCRIPTNAME\n";
print MAIL "To: $To\n";
print MAIL "Subject: $tag: $Subject\n";
print MAIL "\n";
print MAIL "$Message\n";
print MAIL "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment