How to send email from command line in fixed font

From www.ReeltoReel.nl Wiki
Revision as of 12:03, 30 September 2020 by Pvdm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.