how to set the font with mailx?

Posted by Bob on Server Fault See other posts from Server Fault or by Bob
Published on 2010-06-01T18:59:48Z Indexed on 2010/06/01 19:04 UTC
Read the original article Hit count: 337

Filed under:

Solaris Korn Shell

I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx?

mailx -s "MY REPORT, date +'%D %r " -r "REPORTING SYSTEM" [email protected]< /mydir/mysql.log > /dev/null

© Server Fault or respective owner

Related posts about unix-shell