echo "yada yada" | msmtp email@example.com
but not this:
cat yadayada.txt | msmtp firstname.lastname@example.org
which delivers the email with empty content.
Why does echo work through pipe but not cat with msmtp ?
msmtp seems to rely on a wellformed email message in the file being read.
Since I don't care about Subject etc
is a Q&D way to get the logfile content sent using msmtp.