yim11
08-14-2000, 03:57 PM
Hello,
I have inherited a script that reads a specific users mailbox, and parses the message and inserts the sections of the message into a database, as a comment. The script only works on email sent from Lotus Notes 4.6 because Notes uses quotes around the `From` address in the message header. MS Outlook does not use quotes (but Outlook Express does I think). So all mail sent via Lotus Notes gets parsed correctly, but any mail from Outlook is simply ignored. I have been trying for over a month to change the script so that it will handle email no matter where it was sent from, but simply don`t have the perl knowledge to pull it off. The script is much more advanced than my level of perl knowledge. I know the section that is doing the parsing, but do not know how to rewrite it to handle email w/o quotes.This has been a huge source of frustration for me, my boss, and the company we work for. I have posted to other sites about this (perlguru, tek-tips, brainbuzz, etc.) and received some good advice, but no fix unfortunatly. I would be willing to repay the favor any way within my means.
The script is rather long, so I am not posting it until needed, and the site using it is behind a firewall so it cannot be viewed from the net unfortunatly.
Any tips, pointers, help, advice on this would be GREATLY appreciated.
Thank you in advnace for your time in reading this.
-Jim H.
I have inherited a script that reads a specific users mailbox, and parses the message and inserts the sections of the message into a database, as a comment. The script only works on email sent from Lotus Notes 4.6 because Notes uses quotes around the `From` address in the message header. MS Outlook does not use quotes (but Outlook Express does I think). So all mail sent via Lotus Notes gets parsed correctly, but any mail from Outlook is simply ignored. I have been trying for over a month to change the script so that it will handle email no matter where it was sent from, but simply don`t have the perl knowledge to pull it off. The script is much more advanced than my level of perl knowledge. I know the section that is doing the parsing, but do not know how to rewrite it to handle email w/o quotes.This has been a huge source of frustration for me, my boss, and the company we work for. I have posted to other sites about this (perlguru, tek-tips, brainbuzz, etc.) and received some good advice, but no fix unfortunatly. I would be willing to repay the favor any way within my means.
The script is rather long, so I am not posting it until needed, and the site using it is behind a firewall so it cannot be viewed from the net unfortunatly.
Any tips, pointers, help, advice on this would be GREATLY appreciated.
Thank you in advnace for your time in reading this.
-Jim H.