remove unsupported options from mail and mutt command

This commit is contained in:
Honza Hommer committed 2019-05-12 20:24:02 +02:00
1 parent 10801bfb25
commit f6ca92337b
1 file changed
+2 -5
+2 -5
View File
@@ -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
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.