Message302667
The default mailbox factory is mailbox.mboxMessage so I expect the following two statements to work the same:
messages = mailbox.mbox("test.mbox")
messages = mailbox.mbox("test.mbox", mailbox.mboxMessage)
However they do not.
The attached file generates the output:
<class 'mailbox.mboxMessage'>
Test
sender@invalid Thu Nov 17 00:49:30 2016
None
<class 'mailbox.mboxMessage'>
Test
MAILER-DAEMON Thu Sep 21 01:31:15 2017
None
Note that the original from has been lost in the second parse. |
|
Date |
User |
Action |
Args |
2017-09-21 01:37:52 | bpoaugust | set | recipients:
+ bpoaugust, barry, r.david.murray |
2017-09-21 01:37:52 | bpoaugust | set | messageid: <1505957872.5.0.844551789506.issue31538@psf.upfronthosting.co.za> |
2017-09-21 01:37:52 | bpoaugust | link | issue31538 messages |
2017-09-21 01:37:51 | bpoaugust | create | |
|