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

William Park opengeometry at yahoo.ca
Sun Jun 6 14:41:09 EDT 2004


chuck amadi <chuck.amadi at ntlworld.com> wrote:
> Eric S. Johansson wrote:
> 
> > William Park wrote:
> >
> >> Chuck Amadi <chuck at smtl.co.uk> 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 yahoo.ca>
No, I will not fix your computer!  I'll reformat your harddisk, though.



More information about the Python-list mailing list