Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
mailbox.mbox.add() appears to set both access and modification times
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="tinnews, post: 3703434"] I'm using mailbox in Python 2.5.2 to filter incoming mail into separate mailboxes. I prefer mbox for various reasons and so I have used that format. It would appear then when I do:- dest = mailbox.mbox(destDir, factory=None) dest.add(m) it sets both the access and modification times of the mbox to the date and time now. This is a disaster for MUAs that detect new mail by looking to see if the mbox has been modified after it was accessed. Is this a known bug in mailbox.mbox.add(), or am I doing something wrong, or what? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
mailbox.mbox.add() appears to set both access and modification times
Top