Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4f035486
Unverified
Commit
4f035486
authored
May 12, 2019
by
Honza Hommer
Browse files
typos
parent
773e1d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/sendmail.sh
View file @
4f035486
...
@@ -40,13 +40,13 @@ sendmail_send() {
...
@@ -40,13 +40,13 @@ sendmail_send() {
_saveaccountconf_mutable SENDMAIL_TO
"
$SENDMAIL_TO
"
_saveaccountconf_mutable SENDMAIL_TO
"
$SENDMAIL_TO
"
subject
=
"=?UTF-8?B?
$(
echo
"
$_subject
"
| _base64
)
?="
subject
=
"=?UTF-8?B?
$(
echo
"
$_subject
"
| _base64
)
?="
error
=
$(
{
echo
"From:
$SENDMAIL_FROM
error
=
$(
{
echo
"From:
$SENDMAIL_FROM
To:
$SENDMAIL_TO
To:
$SENDMAIL_TO
Subject:
$subject
Subject:
$subject
Content-Type: text/plain; charset=utf-8
Content-Type: text/plain; charset=utf-8
$_content
$_content
"
|
"
$SENDMAIL_BIN
"
-f
"
$SENDMAIL_FROM
"
"
$SENDMAIL_TO
"
;
}
2>&1
)
"
|
"
$SENDMAIL_BIN
"
-f
"
$SENDMAIL_FROM
"
"
$SENDMAIL_TO
"
;
}
2>&1
)
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
_debug
"sendmail send error."
_debug
"sendmail send error."
...
...
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