|
Posted by Manuel Lemos on 04/12/07 04:19
Hello,
on 04/11/2007 03:42 PM Aerik said the following:
>>> i want to write a PHP4 script that reads POP3 or IMAP mail and can
>>> decode the possible attachments in the email.
>> http://www.php.net/imap
>>
>
> Yeah, but in my (limited!) experience, the IMAP library installed.
> I've just finished writing a function to parse a raw message returned
> from a basic POP3 class to an array so I can mangle it because I want
> an application people without IMAP can use.
>
> OTOH, Olaf, it doesn't seem like it'd be that hard to change the class
> to accept inline attachements. But maybe not; I'm pretty new to
> mangling email.
Did you try this MIME parser class? It supports any type of message
structure including attachments:
http://www.phpclasses.org/mimeparser
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
[Back to original message]
|