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 (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (133)   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-10-10 (1 month ago) RSS 2.0 feedStarStarStarStar 60%Total: 49,602 This week: 1All time: 4 This week: 170Down
Version License PHP version Categories
pop3class 1.0.4BSD License3Email, Networking, Stream wrappers
Description Author

The class implements access to mailboxes 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 standard and APOP login methods
- Authentication mechanisms implemented by SASL client classes like PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba), XOAUTH2, etc...
- Determining mailbox statistics (mailbox 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 it may retrieve 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 an idle state

Recommendations

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: 54
All time rank: 1
Week rank: 1 Equal

Screenshots  
  • 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 get_gmail_oauth_access_token.php Example Script to retrieve the Gmail OAuth access token
Accessible without login Plain text file how_to_get_a_gmail_oauth_access_token.md Doc. Instructions on how to create a OAuth application to access the Gmail API
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

Downloadpop3class-2022-10-10.zip 23KB
Downloadpop3class-2022-10-10.tar.gz 22KB
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  
 75%1
Total:49,602
This week:1
All time:4
This week:170Down
User Ratings User Comments (13)
 All time
Utility:88%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:76%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1338
 
Great pop3 class.
9 years ago (Ketil Engmark)
70%StarStarStarStar
This is a powerful package for PHP, allowing quick and easy P...
10 years ago (Alan)
67%StarStarStarStar
amazing class
10 years ago (plonknimbuzz)
70%StarStarStarStar
Although the examples are verbose we also need a simple versi...
11 years ago (Oceans)
70%StarStarStarStar
Excelent.
12 years ago (Pablo)
70%StarStarStarStar
Great job! Thanks a lot.
12 years ago (Mik Rom)
70%StarStarStarStar
Works well Wish there was a quick_use_sample.
12 years ago (Tushar)
67%StarStarStarStar
Really, really helpful.
12 years ago (Tanner M. Young)
70%StarStarStarStar
Thank you very much for class!
13 years ago (Andrey Kostarev)
70%StarStarStarStar
Боольшое &#10...
13 years ago (Leonid)
70%StarStarStarStar
Really great class! Thanks a lot
14 years ago (Martin Rehberger)
67%StarStarStarStar
really great class, everyone can make a webmail!
14 years ago (Roelof Roos)
67%StarStarStarStar
no include in archive
14 years ago (Bugmenotter)
7%Star