You are not logged in.
I'm sending some server reports to myself and want them to be formatted with a monospace font. I haven't found any options in the S-nail command line to do that. I've tried to add a MIME header into the text but it doesn't help:
str="$(cat mailheader.txt)"
echo "$str" | sudo mail -v -A email -s "Report" xxx@xxx.commailheader.txt content is:
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
<html>
<body>
<pre style="font: monospace">
TEST - IT SHOULD BE IN MONOSPACE FONT.
</pre>
</body>
</html>It comes with all headers/footers just included to the message as a plain text.
So, the question is, are there any options to force S-nail to send a message in HTML format?
Offline