Simple Python script to read and output MailBox body to a file

William Park opengeometry at
Sun Jun 6 20:41:09 CEST 2004

chuck amadi <chuck.amadi at> wrote:
> Eric S. Johansson wrote:
> > William Park wrote:
> >
> >> Chuck Amadi <chuck at> wrote:
> >>
> >>> Has anyone got a simple python script that will parse a linux
> >>> mbox and create a large file to view .
> >>
> >> "Create a large file to view"?  Care to elaborate?
> Note briefly my main goal is to get the body content to another file
> for processing to Postgresql database.

One email body per file, or all email bodies in one file?

William Park, Open Geometry Consulting, <opengeometry at>
No, I will not fix your computer!  I'll reformat your harddisk, though.

More information about the Python-list mailing list