site geomag logo

Note: entries are ordered in chronological order.

March 13, 2005

Code Fixing the 'received date' in IMAP folders

(OK, this is a techical post probably of no interest most people, but I'm posting it in case the info is useful to someone else).

Update: I've updated the script to not require the more advanced imaplib2 module, and add an option to allow you to list the mailboxes on the server.

I had a problem with my email when I moved onto my current IMAP hosting - I ended up with the received date of every message (and there was about 1500+ messages) being reset to the date I moved the email across. Now this is hardly life-threatening, but it was somewhat annoying as it made it difficult to find mail by date. I had some spare time this evening, so I thought I'd try and fix it.

Posted by Dave in Code at 12:41 AM | Permalink
» Post / Display Comments (1) | TrackBack (0)
« February 2005 | August 2005 »