|Info||Screenshots||View files (7)||Download .zip||Reputation||Support forum (3)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2008-02-26 (6 years ago)||Not enough user ratings||Total: 2,683 This week: 4||All time: 1,293 This week: 427|
|pop3-stream 1.2||Free for non-commercial...||5.0||Email, PHP 5, Stream wrappers|
It accesses a given POP3 mailbox using the PHP IMAP extension authenticating as an user with password specified in the URL passed to the PHP fopen function.
The class can read individual message headers and body in a single stream when the PHP fread function is called.
It can also list all the messages in the mailbox when the PHP readdir function is called.
The class can retrieve details of a message using the PHP function stat or delete a message with the PHP unlink function.
Please note that this wrapper has issues handling deletion of emails. It is recommended that you use Manuel Lemos' wrapper instead.
|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.|
|POP3 is a popular Internet protocol used to retrieve messages sent to a mailbox.
It is necessary to understand the POP3 protocol to send commands and interpret responses in order to retrieve the list of messages in a mailbox and retrieve the message contents.
This class greatly simplifies that task by acting as a stream wrapper. It lets PHP applications list POP3 mailboxes as if they were directories and retrieve messages as if they were files.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||4||This week:||427|
|User Comments (1)|