Example of a email processing to a file

chuck amadi chuck.amadi at ntlworld.com
Thu May 27 20:56:36 EDT 2004


Hi sorry to try and get someone to do my job but im at logger heads at 
the moment .

I have been assigned a duty to abstract from a mail acoount 
(/var/spool/mail/Usersurvey)

The email messages are encapsulated in xml I want to parse the data into 
a database.

I have been programming with UnixMailbox Module and been able to view 
the contents but how do I get all the messages into one file.I know the 
database part just this extraction bit.

I fsomeone has a snippet or example would be great as I got a tight 
deadline .

Cheers all





More information about the Python-list mailing list