python, mbox files and forwarding messages

Brad Tilley bradtilley at
Tue Oct 26 19:08:36 CEST 2004

Can Python parse a mbox file and forward each individual message within 
that file to someone else?

For example, let's say I have a 10MB mbox file that has 678 messages. 
I'd like to send each of the messages to santa.claus at 
how might I do that? Also, how might I handle messages that have an 
attachment associated with them during the forward process?


More information about the Python-list mailing list