Login   Register  
PHP Classes
elePHPant
Icontem

pop3-stream

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Rick Hodger
Name: Rick Hodger <e-mail contact>
Packages: 3 Browse all classes by Rick Hodger Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 33
All time rank: 64832 in United Kingdom United Kingdom
Week rank: 2190 Down87 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
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.

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.

  Classes of Rick Hodger  >  pop3-stream  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: pop3-stream
Base name: pop3-stream
Description: Stream wrapper to access POP3 messages (old)
Version: 1.2
PHP version: 5.0
License: Free for non-commercial use
All time users: 2537 users
All time rank: 1331
Week users: 0 users
Week rank: 2011 Equal
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image Email Email sending and receiving View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Stream wrappers Access resources like regular files View top rated classes

  Files folder image Screenshots  
Screenshot of the exportpop3.php application
File Role Description
Accessible without login Image file pop3-screenshot.png Screen Screenshot of the exportpop3.php application


  Innovation Award  
PHP Programming Innovation award winner
January 2008
Winner
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.

Manuel Lemos

  Freshmeat project  
Project record: phppop3stream
Popularity score: 13.3
Vitality score: 1.43

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Source Website Source Website

  Files folder image Files  
File Role Description
Plain text file pop3.stream.php Class File wrapper include
Plain text file example1.php Example Example #1 - Read an email
Plain text file example2.php Example Example #2 - Listing the contents of a POP3 account
Plain text file example3.php Example Gmail example using secure POP3
Plain text file exportpop3.php Example Example application - Downloads emails as text files to a folder.
Plain text file README.TXT Doc. Important information

Download all files: pop3-stream.tar.gz pop3-stream.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.