python, mbox files and forwarding messages

Brad Tilley bradtilley at gmail.com
Tue Oct 26 13:08:36 EDT 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 northpole.com... 
how might I do that? Also, how might I handle messages that have an 
attachment associated with them during the forward process?

Thanks,
Brad



More information about the Python-list mailing list