Send mail through shell script with HTML table.

view story

http://www.unix.com – Dear Team, Thanks in Advance ! I want to send the output of simple SELECT query with 5-6 cols in a tabulated form with the use of HTML through mail in a SHELL Script. What i had completed is - 1. Got connected to SQLPLUS -Done 2. Executed the query. -Done 3. Taken the output of the query in spoolfile. -Done 4. :confused: How to convert output of Spoolfile into HTML table. --NOT DONE :confused: 5. Connectivity to mail server. -Done 6. Sending a file outout on mail -Done Now i am not getting a solution to convert the distracted spoolfile in to a well organized tabulated output, which c (HowTos)