Projects / POP 3 client class

POP 3 client class

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
Operating Systems
Implementation

RSS Recent releases

  •  04 Feb 2014 11:36

Release Notes: This version avoids making static calls to the class. The examples use a stream handler named mlpop3 to avoid colliding with PHP's pop3 stream handler. Also added was an example of how to use secure connections with TLS, which is necessary for accessing Gmail.

  •  02 Feb 2009 10:15

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

  •  25 Apr 2008 01:01

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.

  •  04 Oct 2006 06:08

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.

Screenshot

Project Spotlight

Text2GUI

A program that generates Java GUIs from natural language.

Screenshot

Project Spotlight

rpmreaper

A tool for removing packages from a system.