|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2008-02-26 (10 years ago)||Not enough user ratings||Total: 2,902||All time: 1,270 This week: 373|
|pop3-stream 1.2||Free for non-comm...||5.0||Email, PHP 5, Stream wrappers|
This class implements a POP3 stream handler that can be used to access messages in mailboxes using POP3 (or secure POP3, as of v1.2) as if they were regular files.
Due to the constraints of the stream wrapper system in PHP, each time you attempt to read an email with this class, a seperate connection will be made to the POP3 server, and a fresh login performed. Using the opendir() commands will cause it to connect once, retreive the list of mail, and then disconnect. This is to avoid causing problems on POP3 servers that only allow a single login, or "lock" the mailbox. Because of this, it is not recommended to use this stream wrapper/class as a basis for a webmail system. It will be fairly slow. It is however ideal for translating emails into other systems, such as an email-to-RSS application, email-to-Blog and so on.
|pop3.stream.php||Class||File wrapper include|
|example1.php||Example||Example #1 - Read an email|
|example2.php||Example||Example #2 - Listing the contents of a POP3 account|
|example3.php||Example||Gmail example using secure POP3|
|exportpop3.php||Example||Example application - Downloads emails as text files to a folder.|
|Version Control||Unique User Downloads||Download Rankings|
|User Comments (1)|