mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
fix charset russian language to send mail
This commit is contained in:
parent
4bc53a1142
commit
f1c46e9ab8
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
# Internal variables
|
# Internal variables
|
||||||
HOMEDIR='/home'
|
HOMEDIR='/home'
|
||||||
BACKUP='/backup'
|
BACKUP='/backup'
|
||||||
|
@ -448,6 +449,7 @@ sync_cron_jobs() {
|
||||||
rm -f $crontab
|
rm -f $crontab
|
||||||
if [ "$CRON_REPORTS" = 'yes' ]; then
|
if [ "$CRON_REPORTS" = 'yes' ]; then
|
||||||
echo "MAILTO=$CONTACT" > $crontab
|
echo "MAILTO=$CONTACT" > $crontab
|
||||||
|
echo 'CONTENT_TYPE="text/plain; charset=utf-8"' >> $crontab
|
||||||
fi
|
fi
|
||||||
while read line; do
|
while read line; do
|
||||||
eval $line
|
eval $line
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue