How to send email from command line in fixed font: Difference between revisions

From www.ReeltoReel.nl Wiki
Jump to navigation Jump to search
(Created page with "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 '<...")
 
mNo edit summary
Line 1: Line 1:
To send email that is in fixed font you can use:
To send email that is in fixed font you can use:
<pre>
  # (echo "Subject: bla"; echo "MIME-Version: 1.0"; echo "Content-Type: text/html"; echo "Content-Disposition: inline"; echo '<html><body><pre>The code element</pre></body></html>') |  sendmail joop@hotmail.com
  # (echo "Subject: bla"; echo "MIME-Version: 1.0"; echo "Content-Type: text/html"; echo "Content-Disposition: inline"; echo '<html><body><pre>The code element</pre></body></html>') |  sendmail joop@hotmail.com

Revision as of 12:00, 30 September 2020

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

</body></html>') | sendmail joop@hotmail.com