tags:

views:

94

answers:

3
+2  Q: 

Php mail reader

Hi guys, anybody know any PHP library to read various mail services? Like Hotmail, Gmail, yahoo?

It would be great if the library could parse the email and mark as read...

Thanks

+2  A: 

See the PHP IMAP library. That'll work for Gmail at least.

Xorlev
Hi thanks for the info but i need a lbrary that non-server dependant (php-imap) i need to download and change my php... Anyway it is great info tho!
A: 

I've used the PHP Imap/POP3 library together with pieces from the Horde project to parse attachments. Horde provides a couple of helpful classes to handle MIME encodings.

I downloaded the entire Horde stack and used the individual classes in my application.

matiasf
A: 

A solution might be to use the Zend_Mail component of Zend Framework -- if it's as several other components, you could be able to use it outside of the Framework, not having too much work to do to "extract" it.

The documentation page about Reading Mail Messages could interest you.

Pascal MARTIN
great! this is the answer! thanks for the sharing...
You're welcome :-) Have fun !
Pascal MARTIN