0
I'm somehow unable to get my head around this. I am sending mails from commandline with help of a little script. But the line
echo 'LOREM IPSUM' | mail -s 'SUBJECT' -a 'From:TEST' < /root/recipients.txt
somehow seems to be wrong. The mail gets sent but without any text in it and I get the error
mail: Null message body; hope that's ok
What am I doing wrong here?