https://github.com/cubiclesoft/ultimate-email
A PHP library/toolkit designed to handle all of your one-off e-mail needs under a MIT or LGPL license.
https://github.com/cubiclesoft/ultimate-email
Last synced: 9 months ago
JSON representation
A PHP library/toolkit designed to handle all of your one-off e-mail needs under a MIT or LGPL license.
- Host: GitHub
- URL: https://github.com/cubiclesoft/ultimate-email
- Owner: cubiclesoft
- Created: 2012-08-05T00:07:04.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T18:00:11.000Z (over 3 years ago)
- Last Synced: 2025-04-10T13:10:03.097Z (about 1 year ago)
- Language: PHP
- Size: 1.07 MB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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 solely on the mostly broken 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 `ConvertHTMLToText()` and `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.
[](https://cubiclesoft.com/donate/) [](https://cubiclesoft.com/product-support/github/)
Features
--------
* 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.
* Rapidly build [great-looking, fully responsive HTML e-mails](https://github.com/cubiclesoft/ultimate-email/blob/master/docs/email_builder.md) with the included `EmailBuilder` class.
* `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.
Usage
-----
Documentation and examples can be found in the 'docs' directory of this repository.
* [EmailBuilder class](https://github.com/cubiclesoft/ultimate-email/blob/master/docs/email_builder.md) - Effortlessly design beautiful HTML e-mails.
* [SMTP class](https://github.com/cubiclesoft/ultimate-email/blob/master/docs/smtp.md) - Send e-mail.
* [POP3 class](https://github.com/cubiclesoft/ultimate-email/blob/master/docs/pop3.md) - Retrieve e-mail.
* [MIMEParser class](https://github.com/cubiclesoft/ultimate-email/blob/master/docs/mime_parser.md) - Extract content from retrieved e-mail.