This is a PHP class that attempts to validate a given e-mail address at four levels: matching the address against a RFC compliant regular expression; checking whitelists and blacklists of domains with typing mistakes, disposable email addresses, and temporary and fake domains; verifying the existence of the destination SMTP server by verifying the respective DNS MX record; and connecting to that server to see if the given address is accepted as a valid recipient. The class also features a debugging output option that lets you see the remote SMTP server connection and data exchange dialog to see the real cause why an apparently valid address may not be accepting messages.
The MIME Email message class composes and sends MIME encoded email messages. It features user-definable headers and body parts, support for plain text and HTML body, headers with non-ASCII text, HTML messages with embedded images, file attachments with content type detection, forwarding of messages as attachments, setting the error delivery address with the Return-Path header, and sub-classes for different delivery methods: mail, SMTP, Qmail, Sendmail, and Microsoft IIS or Exchange pickup folder. It also supports sending personalized bulk mail by replacing the message parts that differ for each recipient.
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.
SMTP client class is a PHP class that connects to a mail server to send messages. It can relay message delivery to a defined server or directly deliver messages to a recipient's server for urgent message delivery. It supports secure connections with SSL or starting TLS after the connection is established, connection timeouts, authentication using PHP SASL class (PLAIN, LOGIN, CRAM-MD5, NTLM), POP3 before SMTP delivery authentication, and takes advantage of the SMTP PIPELINING extension to buffer SMTP commands, providing much faster queueing of messages when delivering to a large number of recipients (bulk mail).
Net_NNTP is a PHP/PEAR library for communication with NNTP servers. Net_NNTP handles connection and protocol-level commands (RFC977), including many non-standard commands (RFC2980), via a user-friendly API which hides the actual NNTP commands/syntax. Some knowledge about NNTP and general knowledge about email and MIME is required, since parsing of content and headers is left up to the user. Net_NNTP allows advanced users direct usage of NNTP commands via the separate protocol implementation. Net_NNTP includes a fully-functional NNTP to HTML gateway demo application.