Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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" me@me.com< /mydir/mysql.log > /dev/null

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

There isn't a font in plain text email (which mailx is sending). You need to configure your client software to use the right font.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.