How to send email from command line in fixed font: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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> | <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 | |||
</pre> | </pre> |
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