PHP Classes

Maildir To Mailbox: Convert messages from maildir to mbox format

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 647 All time: 4,943 This week: 198Up
Version License PHP version Categories
maildir2mbox 3.0GNU Lesser Genera...5.0Email, PHP 5, Files and Folders


This package can be used to convert messages stored in Maildir mailboxes to the mbox format.

It scans a given mailbox directory to retrieve the list of messages stored in a Maildir structure.

The class generates a single file in the mbox format that contains all the messages that were found.

UPDATE: The script will generate more mbox files according to the maildir directory structure (subdirs will be also generated)

Innovation Award
PHP Programming Innovation award nominee
June 2008
Number 6
E-mail servers like Qmail store messages received for their users in mailboxes with a directory structure called maildir.

E-mail clients like Mozilla Thunderbird can import messages in mailbox files but these must be in mbox format, which consists in a single file with all the messages in the mailbox.

This class provides a solution that makes possible to take messages stored in mailboxes in the maildir format and export the messages in single files in the mbox format.

Manuel Lemos
Picture of Charalampos Pournaris
Name: Charalampos Pournaris <contact>
Classes: 2 packages by
Country: United States United States
Age: 38
All time rank: 1829257 in United States United States
Week rank: 550 Up57 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file maildir2mbox.php Class The php file for all the work

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,943
This week:198Up