Unix Programming - perl script to read data from database and generate a mail in HTML(in a particular fo

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2006 > perl script to read data from database and generate a mail in HTML(in a particular fo





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author perl script to read data from database and generate a mail in HTML(in a particular fo
nm

2006-12-27, 7:21 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com