PHP Classes

POP3 e-mail client: Access to e-mail mailboxes using the POP3 protocol

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (132)   Blog (2)    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 49,595 This week: 2All time: 4 This week: 68Down
Version License PHP version Categories
pop3class 1.0.1BSD License3Email, Networking, Stream wrappers
Description Author

Class that implements the access to mail boxes using the POP3 protocol.

It features:

- Support secure connections using TLS
- Provides a stream wrapper class to access messages like files using fopen('pop3://user:pass@localhost/1', 'r');
- POP3 server access using normal and apop login methods
- Authentication mechanisms implemented by SASL client class like: PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba), etc..
- Determining mailbox statistics (mail box size in bytes and the number of stored messages)
- Listing of individual message sizes and identifier numbers
- Retrieving messages in data blocks of limited size to not exceed the available memory
- Retrieving messages all at once separating the headers from the body and limiting the number of message lines that may be retrieved at once
- Marking messages to be deleted
- Resetting the list of messages to be deleted
- Issuing of protocol NOOP command to avoid connection shutdown while in idle state


Recommendation for a PHP sip client class
I need SIP2 script to run with using the TLS 1.2 protocol

What is the best PHP pop3 email to mysql class?
Read mailbox and insert ticket in MySQL database

Recommendation for a PHP class to read mail
Mail reader

Update MySQL from mail
I want to update my database using info sent by email

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos is available for providing paid consulting. Contact Manuel Lemos .
Classes: 43 packages by
Country: Portugal Portugal
Age: 53
All time rank: 1
Week rank: 6 Down1 in Portugal Portugal Equal

  • pop3.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file browse_mailbox.php Example Example of browsing and display messages of a mailbox using the pop3:// stream handler on an already opened POP3 connection
Accessible without login Plain text file LICENSE Lic. BSD License
Accessible without login Plain text file parse_message.php Example Example script to demonstrate how to open messages in a POP3 mailbox like files, and parse them with the MIME parser class
Plain text file pop3.php Class POP3 class file
Accessible without login Plain text file test_pop3.php Example POP3 class test page 21KB
Downloadpop3class-2014-01-27.tar.gz 20KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Simple Authentication and Security Layer Download .zip .tar.gz When the POP3 server requires authentication the SASL package provides support for implementing authentication mechanisms like: PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix with Samba). Conditional
PHP MIME Email Message Parser Download .zip .tar.gz Only needed to run the example that parses and decodes messages Conditional
 Version Control Reuses Unique User Downloads Download Rankings  
This week:2
All time:4
This week:68Down
User Ratings User Comments (13)
 All time
Great pop3 class.
9 years ago (Ketil Engmark)
This is a powerful package for PHP, allowing quick and easy P...
10 years ago (Alan)
amazing class
10 years ago (plonknimbuzz)
Although the examples are verbose we also need a simple versi...
11 years ago (Oceans)
11 years ago (Pablo)
Great job! Thanks a lot.
12 years ago (Mik Rom)
Works well Wish there was a quick_use_sample.
12 years ago (Tushar)
Really, really helpful.
12 years ago (Tanner M. Young)
Thank you very much for class!
13 years ago (Andrey Kostarev)
Боольшое &#10...
13 years ago (Leonid)
Really great class! Thanks a lot
13 years ago (Martin Rehberger)
really great class, everyone can make a webmail!
13 years ago (Roelof Roos)
no include in archive
14 years ago (Bugmenotter)
For more information send a message to info at phpclasses dot org.