simple script to read and output Mailbox body to file.

William Park opengeometry at yahoo.ca
Mon Jun 7 13:19:26 EDT 2004


Chuck Amadi <chuck at smtl.co.uk> wrote:
> Sorry to bovver you again (again) here's script.
> 
> I still can't see why the get_payload() doesn't produce 
> the plain text message body of an emails in the testwwws users mailbox.
> As you can see I have tried a few things but no joy what am I missing.
> 
> Is the another snippet in relation to get_payload to access the body
> contents print and process to a file.
[snip]

You still haven't answered central questions.  
    - Do you want email bodies in separate files, or all email bodies in
      one file?
    - Do you want to collect these email bodies as they come in, or
      periodically from a 'mbox' 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