The requirement is to send a report from an UNIX server. I have a list of data to be shown on the report, let's say from database. I am using sendexchange to send mail. It always sends in plain text format, and the data isn't displayed with proper alignment. I have separated all the columns with fixed width, but I'm still not getting a proper alignment of the data.
This is my setup:
- I am using HP-UX
- I have only sendexchange, mailx and mail utilities to send mails
- I want to show the data not as an attachment but in the content of the mail.
- The contents of the mail should be:
CONTENTS - Description of report (Header Probably)
Below that, the details should be in a TABLE
The table consists of a Header which will have column names and Rows which holds the data
Any suggestions?