I am sending email from the cmd with msmtp for that I do
cat > test1 << EOF >From: "Tester" >test >EOF cat test1 | msmtp [email protected] This works while:
echo -e 'From: "Tester"\ntest' > test2 cat test2 | msmtp [email protected] Doesn't work although
diff test1 test2 returned nothing and both
file -bi test1 test2 returned the same results
message/rfc822; charset=us-ascii