diff --git a/send_html_mail.sh b/send_html_mail.sh
index a653d0b..af26029 100755
--- a/send_html_mail.sh
+++ b/send_html_mail.sh
@@ -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