mirror of
https://github.com/MrUnknownDE/netstack-backuptools-bash.git
synced 2026-04-17 22:03:51 +02:00
edit mail-command
This commit is contained in:
@@ -189,5 +189,12 @@ check_ssmtp_packages() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
echo -e "Subject: $mailsubject\n\n$mailtext" | msmtp -t email
|
(
|
||||||
|
echo "To: $email"
|
||||||
|
echo "Subject: $mailsubject"
|
||||||
|
echo "Content-Type: text/plain"
|
||||||
|
echo
|
||||||
|
cat $mailtext
|
||||||
|
) | msmtp $email
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user