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.
PHP MIME Mail decoder class is a PHP class to parse and decode MIME email messages. It supports decoding single RFC 2822 MIME messages or archives that aggregate multiple messages in the mbox format. It can decode messages read from files or data strings. The bodies of multipart messages can be decoded into distinct sub-messages. Optionally, the message body data can be saved to separate files, so the class can handle messages larger than the available memory. The parser can tolerate some syntax errors in malformed messages that are not compliant with RFC 2822.
basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient. The overhead produced by basE91 depends on the input data. It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary unsafe connections like e-mail or terminal lines.
fdm (fetch and deliver mail) is a simple, lightweight replacement for mail fetching, filtering, and delivery programs such as fetchmail and procmail. It can fetch using POP3, POP3S, IMAP, IMAPS, or stdin, and deliver to a pipe, file, maildir, mbox, or SMTP server, based on a set of regexps. It can be used for both single user and multiuser setups, and is designed with privilege separation when running as root.