-
-
Notifications
You must be signed in to change notification settings - Fork 59
Home
Zaahid Bateson edited this page Dec 8, 2015
·
8 revisions
MailMimeParser aims to provide a reliable PHP library for reading streams formatted in Internet Message Format (RFC-5322, RFC-2822 and RFC-822). MailMimeParser aims to read any mime-compliant message in any encoding, and be forgiving enough to parse non-compliant messages.
The library aims to read streams quickly while maintaining a low memory footprint -- passed streams are copied to a php://temp stream and closed. Attachment contents aren't directly loaded into variables, instead a stream is provided to read from.
MailMimeParser doesn't depend on PHP's imap* functions, and doesn't have any external dependencies when included.
To include it for use in your project, install via composer:
composer require zbateson/mail-mime-parser
- (Usage Guide)[Usage-Guide]