Author serhiy.storchaka
Recipients barry, louielu, r.david.murray, serhiy.storchaka, webknjaz
Date 2017-04-17.11:12:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I concur with David. Rather than using a temporary directory as a Maildir folder:

    with tempfile.TemporaryDirectory() as tmpdir:
        with mailbox.Maildir(tmpdir, create=True) as box:

create a Maildir folder in a temporary directory:

    with tempfile.TemporaryDirectory() as tmpdir:
        with mailbox.Maildir(os.path.join(tmpdir, 'mail'), create=True) as box:
Date User Action Args
2017-04-17 11:12:28serhiy.storchakasetrecipients: + serhiy.storchaka, barry, r.david.murray, webknjaz, louielu
2017-04-17 11:12:28serhiy.storchakasetmessageid: <>
2017-04-17 11:12:28serhiy.storchakalinkissue30088 messages
2017-04-17 11:12:27serhiy.storchakacreate