Skip to content

Commit 5742343

Browse files
authored
Merge pull request #123 from DonkeeeyKong/dev2
Set character set for email to UTF-8
2 parents 33320df + e481fb9 commit 5742343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapraid-aio-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ elif [ "$EMAIL_ADDRESS" ]; then
959959
echo "$body"
960960
) | sendmail -t
961961
else
962-
$MAIL_BIN -a 'Content-Type: text/html' -s "$SUBJECT" -r "$FROM_EMAIL_ADDRESS" "$EMAIL_ADDRESS" \
962+
$MAIL_BIN -a 'Content-Type: text/html; charset=UTF-8' -s "$SUBJECT" -r "$FROM_EMAIL_ADDRESS" "$EMAIL_ADDRESS" \
963963
< <(echo "$body")
964964
fi
965965
fi

0 commit comments

Comments
 (0)