🚑 append in the right order

This commit is contained in:
otthorn 2020-10-09 00:29:55 +02:00
parent f42310e4db
commit b62ce96a19

View file

@ -14,8 +14,8 @@
echo "Sending mail to $1"
echo "To: $1" >> tmp_mail.txt
cat headers.txt > tmp_mail.txt
echo "To: $1" > tmp_mail.txt
cat headers.txt >> tmp_mail.txt
echo "" >> tmp_mail.txt # the newline is very important, RFC 822
cat mail.txt >> tmp_mail.txt