I'm having a issue with sendmail. I'm sending echo multiple text with sendmail (1 liner) but it isn't breaking up the line.
my code is like this:
$ echo "$text1\n$text2\n$text3\n$text4 | mail -s "subject" myemail But somehow it just doesn't break the line, any tips?
echo -e "$text1\n$text2\n$text3\n$text4" | mail -s "subject" myemail-einside quotes… I using it a lot. Works for 100%!