python, mbox files and forwarding messages

Jorgen Grahn jgrahn-nntq at algonet.se
Thu Oct 28 14:16:43 EDT 2004


On Tue, 26 Oct 2004 13:08:36 -0400, Brad Tilley <bradtilley at gmail.com> wrote:
> Can Python parse a mbox file and forward each individual message within 
> that file to someone else?
> [...] Also, how might I handle messages that have an 
> attachment associated with them during the forward process?

By ignoring them. You don't have to be MIME-aware to forward a message, and
the mbox format(s) aren't MIME-aware either.

/Jorgen

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!



More information about the Python-list mailing list