POP 3 client is a PHP class that allows you to access mail boxes using the POP3 protocol. It provides a stream wrapper class for retrieving messages like files using the PHP fopen function, establishes secure connections using TLS, accesses servers using normal and APOP login methods, supports authentication mechanisms such as PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba) via the PHP SASL library, and supports listing of message sizes, retrieval of a message at once, separating the headers from the body, retrieving a message in small chunks to not exceed the available memory, and deleting messages.
| Tags | Communications Email Post-Office POP3 Software Development Libraries php classes |
|---|---|
| Operating Systems | OS Independent |
| Implementation | PHP |
Recent releases


Release Notes: A bug in the APOP authentication implementation was fixed.


Release Notes: This release fixes inadvertent class calls passing parameters by reference.


Release Notes: This release introduces the possibility to open and read messages in a mailbox with PHP file access functions using URLs like pop3://connection/message, where "connection" is the name of an already established connection to the POP3 server. A bug was fixed that was preventing the closing of connections to the server when an opened message was not fully retrieved.


Release Notes: The POP3 connection quit handshake is now forced by default, since some servers may take too much time to figure that the client has disconnected and keep the mailboxes locked. The missing stream wrapper function to close the POP3 mailbox was added because that was preventing access to the same mailbox more than once in the same script.


Release Notes: Support for establishing secure connections using TLS was added, which can be used for accessing Gmail POP3 mailboxes. A stream wrapper class was added to allow the retrieval of messages from POP3 mailboxes like regular files using the PHP fopen function and a pop3:// file name. Two new functions were added for retrieving messages in size limited data blocks so as to not exceed the available memory.