Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: Mail :: mailparse :: 3.2.1

mailparse 3.2.1

Package Information
Summary Email message manipulation
Maintainers Wez Furlong < wez at php dot net > (lead) [details]
Brian Shire < shire at php dot net > (lead) [details]
John Jawed < jawed at php dot net > (lead) [details]
Sean DuBois < sean at siobud dot com > (lead) [details]
Remi Collet (lead) [details]
License PHP-3.01
Description Mailparse is an extension for parsing and working with email messages.
It can deal with rfc822 and rfc2045 (MIME) compliant messages.
Release notes
Version 3.2.1
(stable)
- Enforce MAXLEVELS (20) cap in `alloc_new_child_part()`
- Various code cleanups and optimizations
- Fix out-of-bounds read in RFC822 group/route-addr address parsing
- Reject non-mimepart resources in mailparse_msg_* instead of crashing
- Fix memory leaks
- Fix MimeMessage::extract_uue() ignoring index greater than zero
- Fix use-after-free when a MIME part outlives its parent, or when a child part
is freed before its parent. `mailparse_msg_free()` on a part that still belongs
to a parent now returns true without freeing it; the part is freed with its root.
(Firas Fatnassi, Oz Kaiser)
- Fix `MimeMessage::remove()` keeping the removed part alive until the end of the request.
- `mailparse_msg_free()` no longer closes resources that are not mailparse messages.
- Refuse to free, parse into, or re-extract a message part while it is being extracted, instead of using freed memory.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 3.2.1
PHP Version: PHP 7.3.0 or newer
PEAR Package: PEAR 1.10 or newer
PHP Extension: mbstring
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks