How to send email from command line in fixed font To send email that is in fixed font you can use: # (echo "Subject: bla"; echo "MIME-Version: 1.0"; echo "Content-Type: text/html"; echo "Content-Disposition: inline"; echo '
The code element') | sendmail joop@hotmail.com 
 Mind the /pre here.