Ultimate E-mail Toolkit
A PHP library of functions designed to handle all of your one-off e-mail needs under a MIT or LGPL license. Instead of relying on the PHP mail() function, this library directly talks to SMTP and POP3 servers just as a regular e-mail client would. The result is a high level of reliability in delivery of e-mail messages to recipients. Functions like
MakeValidEmailAddress() make it easy to do complex tasks such as convert ugly HTML input into beautiful plain-text output and analyze an e-mail address to automatically correct common typing mistakes. All of that while following the various RFCs surrounding e-mail.
- Carefully follows the many IETF RFC Standards surrounding e-mail (RFC822, RFC2822, RFC1341, RFC1342, RFC1081, RFC1939, RFC2045, etc).
- Relatively complete and comprehensive, yet easy-to-use SMTP, POP3, and MIME libraries. Fully MIME and Unicode-aware.
- Easy to emulate various e-mail client headers.
SMTP::ConvertHTMLToText()to convert ugly HTML into really nice-looking plain text suitable for multipart e-mails.
SMTP::MakeValidEmailAddress()to correctly parse e-mail addresses and automatically correct common typing mistakes.
- Has a liberal open source license. MIT or LGPL, your choice.
- Designed for relatively painless integration into your project.
- Sits on GitHub for all of that pull request and issue tracker goodness to easily submit changes and ideas respectively.
Documentation and examples can be found in the 'docs' directory of this repository.