python, mbox files and forwarding messages

From: Brad Tilley (bradtilley_at_gmail.com)
Date: 10/26/04


Date: Tue, 26 Oct 2004 13:08:36 -0400

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@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