how to insert new line in the email using linux mail command?
echo "Hi xxx, would you tell me something?\\n thanks!\\n -xxx" | mail -s "subject" xxx@gmail.com
The email shows the literal '\n', not a newline, how do fix it?
how to insert new line in the email using linux mail command?
echo "Hi xxx, would you tell me something?\\n thanks!\\n -xxx" | mail -s "subject" xxx@gmail.com
The email shows the literal '\n', not a newline, how do fix it?