On Fri, 2007-05-11 at 06:22 -0600, Trever L. Adams wrote: > > ok, uids = conn.search(None, 'BEFORE', unreadsentbefore, 'SEEN') > > "11-May-2007 06:18:29 -0600" is the value of unreadsentbefore.
From IMAP RFC:
search-key = "ALL" / "ANSWERED" / "BCC" SP astring /
"BEFORE" SP date / "BODY" SP astring /
..
date = date-text / DQUOTE date-text DQUOTE
date-text = date-day "-" date-month "-" date-year
So you'll need to use "11-May-2007". It doesn't support time.
signature.asc
Description: This is a digitally signed message part
