X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=bin%2Fsimplemail.sh;h=af0eb1a9d4886bb7bd4e5e25274f2b98adfb58b5;hb=dffd0e251bceaa8ec35be7de01e277bcfe0fe718;hp=6cbc5528d984fd5aa0607a9a61d1c2537b452f2b;hpb=fc8842a26216cc5b7853c3638bebce6d43a6cf72;p=config
diff --git a/bin/simplemail.sh b/bin/simplemail.sh
index 6cbc552..af0eb1a 100755
--- a/bin/simplemail.sh
+++ b/bin/simplemail.sh
@@ -2,8 +2,8 @@
#
# This mails to user plom the message in the file named by the first parameter,
# decoded with the first line as subject and everything below the second line
-# as the message body. The subject line MUST NOT contain '"' double quotes.
+# as the message body.
subject=`head -1 $1`
-body=`tail -n +2 $1`
-echo $body | mutt -s "$subject" plom
+body=`tail -n +3 $1`
+echo "$body" | mutt -s "$subject" plom