bari has asked for the wisdom of the Perl Monks concerning the following question:

I have data comming to me in my email ... it is in HTML format. and in the form of table. I have to access that data and change some of its cell and display it again on the web page. how do i do that. your help will be appreciated. thanks - bari

Replies are listed 'Best First'.
Re: How do i acess data comming in my mail
by dws (Chancellor) on Jan 18, 2001 at 01:38 UTC
    Assuming you have a shell account on a Unix machine, in addition to procmail you can use Mail::Audit to intercept and process incoming messages before they're appended to your mailbox.

    Simply1 write a Perl script that uses Mail::Audit, and drop a command line to invoke that script into ~/.forward

    1 With the standard caveat that you should test the bejeezus out of any script that might interfere with your getting your email.

Re: How do i acess data comming in my mail
by eg (Friar) on Jan 18, 2001 at 01:03 UTC

    Not sure I understand your problem. I would use procmail to pipe the appropriate email messages through a perl script that uses HTML::Parser to extract, edit and write the html file to your www-root.