Honza Hommer
6 years ago
No known key found for this signature in database
GPG Key ID: 5EBDE8E7E1A00ACA
1 changed files with
2 additions and
2 deletions
-
notify/sendmail.sh
|
@ -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." |
|
|