Re: PHP IMAP with Attachments!?
| From: | Manuel Lemos | Date: | Tue, 31 Oct 2006 13:19:24 +0000 |
| Subject: | Re: PHP IMAP with Attachments!? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243969@lists.php.net to get a copy of this message | ||
Hello,
on 10/31/2006 01:36 PM Andy said the following:
> I need a class that reads emails from a server and reads the
attachments from the mail.
>
> The mailservers is an IMAP for mail reading.
>
> The attachment types can be: images/pdf/text documents.
>
> Any suggestions?
>
> On phpclasses.org did not find any which works well.
I think the PHP IMAP extension can do all you need, if you have it
installed. Otherwise, you can just use pure PHP IMAP client class and
the use this MIME message parser to extract the message body parts into
a string or a separate file:
http://www.phpclasses.org/mimeparser
This gets the messages without using the PHP IMAP extension:
http://www.phpclasses.org/imap
--
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/