1

Mailx command - send mail as table format

view story
linux-howto

http://www.unix.com – I have to send a couple of rows that have been returned from a SQL query. I have written the output of the query to a file and while i try to print this in the mail body the formatting goes wrong. Intended Output in mail body: Col1 Col2 Col3 ------ ------- ------ Bombay Raj 23 Delhi Raja 24 etc.. But what i get currently is : Col1 Col2 Col3 ---- ----- ------ Bombay Raj 23 Delhi Raja 24 etc.. Please suggest a way how i can format this in the mail body. P.S: The file to which i (HowTos)