PDA

View Full Version : Parsing email problem


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.

Isaac
08-14-2000, 04:31 PM
This sounds like a major project, and though we would be glad to help you, I can't do much without the script. If you would contact me through ICQ or e-mail I would be happy to try and help you.



------------------
Isaac
123Webmaster (http://www.123webmaster.com)
Big Resources Network
isaac@123webmaster.net
ICQ# 71401549

yim11
08-14-2000, 04:36 PM
Thank you very much Isaac. I have requested to be added to your ICQ list. If you would rather correspond in a different fashion please let me know.

Thank you,
Jim H.

Titan
08-15-2000, 08:00 PM
Hello Yim11,

If you post possibly in a text file on another host/server the subroutine which retrieves the data/form fields and data_form_retriever, more of us may be able to help you...

------------------
Best of Luck!

Titan
ICQ 37149892

Isaac
08-16-2000, 01:33 AM
We have resolved this problem. Thanks guys. http://talkboard.123webmaster.com/ubbhtml/smile.gif

------------------
Isaac
123Webmaster (http://www.123webmaster.com)
Big Resources Network
isaac@123webmaster.net
ICQ# 71401549

lamda
11-16-2005, 03:36 AM
The recover inbox (http://www.oemailrecovery.com/inbox-repair.html) and outlook express email recovery (http://www.mail-repair.com/email-recovery.html) has prompted you a path of the Outlook Express files' storage. And now save the damaged dbx files in the safe folder, they can be useful.