Commit 5a4ed942 authored by Robert Ricci's avatar Robert Ricci

Also use -f when mailfrom is set

parent b511eb70
......@@ -1124,7 +1124,7 @@ sub send_mail($$$@) {
# -odb deliver mail in background
# -t causes sendmail to look in the message for 'To:' 'Cc:' and
# 'Bcc:' lines
open(MAIL, "| $SENDMAIL -odb -oem -t");
open(MAIL, "| $SENDMAIL -odb -oem -f'$mailfrom' -t");
}
# If requested, set the From header
......
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