mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
remove unsupported options from mail and mutt command
This commit is contained in:
parent
10801bfb25
commit
f6ca92337b
@ -57,11 +57,8 @@ _mail_send() {
|
|||||||
sendmail)
|
sendmail)
|
||||||
"$_MAIL_BIN" -f "$MAIL_FROM" "$MAIL_TO"
|
"$_MAIL_BIN" -f "$MAIL_FROM" "$MAIL_TO"
|
||||||
;;
|
;;
|
||||||
mutt)
|
mutt|mail)
|
||||||
"$_MAIL_BIN" -s "$subject" -e "my_hdr From:$MAIL_FROM" -e "my_hdr Content-Type:$contenttype" "$MAIL_TO"
|
"$_MAIL_BIN" -s "$_subject" "$MAIL_TO"
|
||||||
;;
|
|
||||||
mail)
|
|
||||||
"$_MAIL_BIN" -s "$subject" -a "From:$MAIL_FROM" -a "Content-Type:$contenttype" "$MAIL_TO"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user