I need to send email with html format. I have only linux command line and command \"mail\".
Currently have used:
echo \"To: address@example.com\" >
My version of mail does not have --append and it too smart for the echo -e \n-trick (it simply replaces \n with space). It does, however, have -a:
--append
echo -e \n
-a
mail -a "Content-type: text/html" -s "Built notification" address@example.com < /var/www/report.html