Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f6ca9233
"vscode:/vscode.git/clone" did not exist on "a9419e23867f10a99927fb3e1689071c60cfe11c"
Unverified
Commit
f6ca9233
authored
May 12, 2019
by
Honza Hommer
Browse files
remove unsupported options from mail and mutt command
parent
10801bfb
Changes
1
Show whitespace changes
Inline
Side-by-side
notify/mail.sh
View file @
f6ca9233
...
@@ -57,11 +57,8 @@ _mail_send() {
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment