PortableUnixMailbox problem

Gustaf Liljegren gustafl at algonet.se
Thu Jun 7 17:09:07 EDT 2001


Joe Murray <jmurray at agyinc.com> wrote:

>Try using a file-like object as the argument to the PortableUnixMailbox
>function:

>>>> from mailbox import PortableUnixMailbox
>>>> mb = PortableUnixMailbox(open('nsmail/Sent'))
>>>> m = mb.next()
>>>> m
><rfc822.Message instance at 0x811582c>


Yes, it works! Thank you very much!

Gustaf



More information about the Python-list mailing list