🚑 append in the right order
This commit is contained in:
parent
f42310e4db
commit
b62ce96a19
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue