PHPackages                             armin/mbox-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. armin/mbox-parser

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

armin/mbox-parser
=================

PHP library to parse mbox files to email messages.

2.0.1(6mo ago)824.3k↓11%21MITPHPPHP &gt;=7.3

Since Nov 2Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/a-r-m-i-n/mbox-parser)[ Packagist](https://packagist.org/packages/armin/mbox-parser)[ RSS](/packages/armin-mbox-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (8)Used By (1)

armin/mbox-parser (mbox Parser for PHP)
=======================================

[](#arminmbox-parser-mbox-parser-for-php)

PHP library to parse mbox files (RFC 4155) to email messages.

The mail messages (RFC 2822) are being parsed using the great library [zbateson/mail-mime-parser](https://github.com/zbateson/mail-mime-parser).

**armin/mbox-parser** is released under [MIT license](https://github.com/a-r-m-i-n/editorconfig-cli/blob/master/LICENSE).

Written by [Armin Vieweg](https://v.ieweg.de). Supported by IW Medien GmbH

Requirements
------------

[](#requirements)

- PHP 7.3 or higher

Usage
-----

[](#usage)

### Iterate through mbox file

[](#iterate-through-mbox-file)

```
