MailParse vs PHP MIME Mail Parser
MailParse
mailparse.devPHP MIME Mail Parser
github.comSide by side
| Figure | MailParse | PHP MIME Mail Parser |
|---|---|---|
| Price from | $29/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 3 | 1 |
| Spec score · Email Parsing Software | 8.0 (#10) | 7.5 (#20) |
| Purpose | MailParse receives inbound emails, parses MIME into structured JSON, and delivers the results through webhooks or a REST polling API. | PHP MIME Mail Parser is a PHP email parser that wraps the mailparse extension. |
| Support | The Free plan lists community support, Pro lists priority support, and Scale lists dedicated support. | For issue reports, the README asks users to provide the raw email that triggered the problem to help reproduce it. |
Plans
In their own words
MailParse
MailParse receives inbound email and converts MIME messages into structured JSON. It extracts text and HTML bodies, inline images, attachments, headers, and routing details, including nested and multipart messages. Parsed results can be sent by POST to a configured webhook, with exponential-backoff retries and HMAC signature verification, or retrieved through a REST polling API. Polling supports filters for sender, date range, subject, and attachment type, with cursor-based pagination. SPF, DKIM, and DMARC validation, spam scoring, and per-address rules support message handling. Attachments use signed download URLs and are retained for 72 hours by default, with plan-based retention settings. Custom domains require an MX record and ownership verification. If a webhook is unavailable, retries continue for up to 24 hours, with replay and polling recovery. MailParse offers API and web access. Free includes 100 emails monthly; Pro costs $29 per month and Scale $99 per month.
PHP MIME Mail Parser
PHP MIME Mail Parser is a PHP library for reading MIME email, built around the mailparse extension. It can handle mail forwarded from Postfix, read.eml messages, support webmail creation, and store email information in a database. Messages may be provided by file path, raw MIME text, PHP file resource, or stream such as stdin. The parser returns headers as raw text or an array with character-set conversion, and can extract addresses and subject. For message content, it retrieves text and HTML bodies, including HTML with embedded content such as images. It can list and save attachments, include or omit inline attachments, and apply a strategy for duplicate filenames. Installation is recommended through Composer as php-mime-mail-parser/php-mime-mail-parser. It requires PHP 8.2 or later and the mailparse extension; listed supported PHP versions are 8.2, 8.3, 8.4, and 8.5. The library supports Linux, macOS, Windows, and self-hosted use, and is released under the MIT license. Pricing is free.