mailparse pecl.php.net Email message manipulation Mailparse is an extension for parsing and working with email messages. It can deal with rfc822 and rfc2045 (MIME) compliant messages. Wez Furlong wez wez@php.net yes Brian Shire shire shire@php.net yes John Jawed jawed jawed@php.net yes Sean DuBois seander seander@php.net yes Remi Collet remi remi@php.net yes 2025-09-30 3.1.9 3.0 stable stable PHP-3.01 - use Zend/zend_smart_string.h for PHP 8.5 - Fix memory leak 7.3.0 1.10 mbstring mailparse 2024-10-04 3.1.8 3.0 stable stable PHP-3.01 - PHP 8.4 compatibility 2024-10-04 3.1.7 3.0 stable stable PHP-3.01 - PHP 8.4 compatibility 2023-08-22 3.1.6 3.0 stable stable PHP-3.01 - fix #29 Segmentation fault with ISO-2022-JP Subject header - fix #30 Segmentation fault with UTF-8 encoded X-MS-Iris-MetaData header - revert fix #81403 mailparse_rfc822_parse_addresses drops escaped quotes 2023-07-27 3.1.5 3.0 stable stable PHP-3.01 - drop usage of removed mbfl APIs in PHP 8.3 - fix GH-27 MimeMessage::__construct() throws TypeError with $mode=stream - fix GH-21, GH-22, GH-24 segfault in mailparse_msg_parse without mime-version - fix #81403 mailparse_rfc822_parse_addresses drops escaped quotes 2022-09-15 3.1.4 3.0 stable stable PHP - declare mimemessage::data property - drop support for PHP older than 7.3 2022-02-21 3.1.3 3.0 stable stable PHP - Fix #73110: Mails with unknown MIME version are treated as plain/text. (cmb) - Fix #74233: Parsing multi Content-Disposition causes memory leak. (cmb) - Fix #75825: mailparse_uudecode_all doesn't parse multiple files. (cmb) - Fix #81422: Potential double-free in mailparse_uudecode_all(). (cmb) - Fix gh#19 Segmentation fault with PHP 8.1 in extract_body using MAILPARSE_EXTRACT_RETURN. (Remi) 2021-09-01 3.1.2 3.0 stable stable PHP - Fix for PHP 8.1 2020-09-16 3.1.1 3.0 stable stable PHP - Fixed bug #74215: Memory leaks with mailparse (cmb) - Fixed bug #76498: Unable to use callable as callback (cmb) - Compatibility with 8.0.0beta4 2020-04-22 3.1.0 3.0 stable stable PHP - add arginfo to all functions - fix MimeMessage constructor name 2019-12-19 3.0.4 3.0 stable stable PHP - Replace ulong with zend_ulong, fix Windows build (cmb) 2019-03-20 3.0.3 3.0 stable stable PHP QA Release: - add missing files in archive - fix -Wformat warning - add dependency on mbstring extension - PHP 7.3 compatibility 2016-12-07 3.0.2 3.0 stable stable PHP - Fix segfault in getChild 2016-01-29 3.0.1 3.0 stable stable PHP - Fix double free caused by mailparse_msg_free 2015-12-23 3.0.0 3.0 stable stable PHP - PHP 7 Release