harryos wrote:
>In imaplib.IMAP4.search() the search string SENTON can be used
>'(SENTON 22-Jun-2010)' .
>But the RFC 2060 defines search key as
>SENTON Messages whose [RFC-822] Date: header is within the
> specified date.
>and in RFC822 it is given as,
>date= 1*2DIGIT month 2DIGIT; day month year
> ; e.g.
>20 Jun 82
RFC 822 has long been obsolete, replaced by RFC 2822, and now by RFC 5322.
That two-digit format was abandoned quite a long time ago.
A compliant date header looks like this:
Date: 20 June 2010 12:34:56 -0700
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list