Question about email-handling modules

tinnews at isbd.co.uk tinnews at isbd.co.uk
Thu Dec 20 08:36:23 EST 2007


Steven D'Aprano <steve at remove-this-cybersource.com.au> wrote:
> On Thu, 20 Dec 2007 09:31:10 +0000, Robert Latest wrote:
> 
[snip most of question and helpful answer]
> 
> But note that message.get_payload() will return either a string (for 
> single part emails) or a list of Messages (for multi-part messages).
> 
Note also that the mailbox module in python 2.5 is quite unlike the
mailbox module in python 2.4 so code written for the 2.4 mailbox will
be most unlikely to work under 2.5 without at least some changes.

At least that's my experience/understanding.

Also, from the way things currently work in the 2.5 version I think
there will (hopefully) be some more quite significant changes.

-- 
Chris Green



More information about the Python-list mailing list