Re: [PHP-DB] Email and HTML Parser Library

2002-11-09 Thread Marco Tabini
Have you considered using the IMAP extension? That would solve pretty much all your problems with regards to "interpreting" the contents of a message. It's a bit slow, though. As for searching the hrefs and imgs, you can easily get away with a couple of regular expressions. Hope this helps. Mar

[PHP-DB] Email and HTML Parser Library

2002-11-09 Thread Peter Beckman
Hey Folks: I admit, I haven't searched for this anywhere yet, but I thought I'd ask for opinions first. I'm looking to parse an email. Some emails are HTML, some are not. What I want to do with an email is: 1. Split the headers from the body 2. Remove MIME attachments that aren't txt o