mailparse

pecl install mailparse

Email message manipulation

Mailparse is an extension for parsing and working with email messages.
It can deal with rfc822 and rfc2045 (MIME) compliant messages.

Maintainer

  • Wez Furlong (lead )
  • Brian Shire (lead )
  • John Jawed (lead )
  • Sean DuBois (lead )
  • Remi Collet (lead )

Details

Stars: 27
Issue openned: 4
Downloads: 4496229
2.1.1
19 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 2.1.1 change log

Fix off-by-one that caused a crash when parsing broken messages.

---
Avoid possible unterminated loops when parsing malformed email addresses.
Fix a crash bug when not using the OO API.

Add hack to provide "binary" transfer encoding, which is not supported
by mbstring.

Go "stable" at long last; the procedural interface is stable, but not the
OO API. (Despite the version number jump, no nee features have been added)

---

Fix build problem with PHP 4.3.4 - mbstring extension was rearranged.

Fix potential build problem.

mailparse_msg_parse_file() no longer returns true instead of the mime resource.

Improved uu-decoder to be more robust when dealing with strange line endings.
Fix silly bug introduced by that fix...

Fixed some memory leaks and problems when multiple uue attachments appear
inline in a single mime part.