12-28-06 12:21 AM
Hi all,
I want to write a PERL script to read data from the database and
generate a mail in HTML...
The database contains following data:
CheckName SubSectionName LastComment
------------ -----------------
------------------------------------------------------------------------
abc-ODC DS SUCCESS::82::/home/ade/hfgf/kfhf/
abc-ODC DS SUCCESS::82::/home/ade/hfgf/kfhf/data/
abc-ODC PS ERROR::82:://home/ade/hfgf/kfhf/logs/
def-Pri DS SUCCESS::82::/home/archive/
def-Pri PS SUCCESS::FILE NOT FOUND
Mail format should be :
abc-ODC
----------------
DS
SUCCESS::82::/home/ade/hfgf/kfhf/
SUCCESS::82::/home/ade/hfgf/kfhf/data/
PS
ERROR::82:://home/ade/hfgf/kfhf/logs/
def-Pri
------------
DS
SUCCESS::82::/home/archive/
PS
SUCCESS::FILE NOT FOUND
Thanks,
Nitika
[ Post a follow-up to this message ]
|