how to get the correct alignment in a textfile to a mail using shell script?

Hi All,

Can any one solve this prob.

Im sending a textfile content as a mail body while sending a mail using shell script.

But, that textfile content is a unic command output.
So, in mail, im not getting the correct alignment as in textfile.
What may be the reason behind this.

Can any one suggest me to get my issue solved.

Thanks in advance.

Could be that the email client is using another font so not everything is looking as nice as on that flat textfile.
Maybe uuencode the textfile and attach it to the mail. There are various threads here for "mail attachment uuencode" in this forum. If you got "nail" you can also use nail -a to send an attachment.