Unverified Commit f6ca9233 authored by Honza Hommer's avatar Honza Hommer
Browse files

remove unsupported options from mail and mutt command

parent 10801bfb
......@@ -57,11 +57,8 @@ _mail_send() {
sendmail)
"$_MAIL_BIN" -f "$MAIL_FROM" "$MAIL_TO"
;;
mutt)
"$_MAIL_BIN" -s "$subject" -e "my_hdr From:$MAIL_FROM" -e "my_hdr Content-Type:$contenttype" "$MAIL_TO"
;;
mail)
"$_MAIL_BIN" -s "$subject" -a "From:$MAIL_FROM" -a "Content-Type:$contenttype" "$MAIL_TO"
mutt|mail)
"$_MAIL_BIN" -s "$_subject" "$MAIL_TO"
;;
esac
}
......
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