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 '<html><body><pre>The code element<SLASHpre></body></html>') |  sendmail joop@hotmail.com

Mind the /pre here.


Revision #3
Created 2026-04-01 17:15:00 CEST by Philip
Updated 2026-04-13 19:24:56 CEST by Philip