FAQ
When I work with the imaplib,
there is a imap4.status(mailboxname, '(MESSAGES RECENT UNSEEN)')
function.

So I really wonder what's the difference between RECENT and UNSEEN
conditions.
And what kind of messages belong to RECENT condition?
Thank you~

Search Discussions

  • Chris Rebert at Mar 16, 2010 at 1:57 pm

    On Tue, Mar 16, 2010 at 5:53 AM, freakrobot wrote:
    When I work with the imaplib,
    there is a imap4.status(mailboxname, '(MESSAGES RECENT UNSEEN)')
    function.

    So I really wonder what's the difference between RECENT and UNSEEN
    conditions.
    And what kind of messages belong to RECENT condition?
    A. Your question is not Python-specific and would better have been
    asked somewhere more relevant.

    B. RTFRFC: http://www.faqs.org/rfcs/rfc3501.html
    """
    UNSEEN The number of messages which do not have the \Seen flag set.
    [...]

    \Seen
    Message has been read

    \Recent
    Message is "recently" arrived in this mailbox. This session
    is the first session to have been notified about this message; if the
    session is read-write, subsequent sessions will not see \Recent set
    for this message. This flag can not be altered by the client. If it is
    not possible to determine whether or not this session is the first
    session to be notified about a message, then that message SHOULD be
    considered recent. If multiple connections have the same mailbox
    selected simultaneously, it is undefined which of these connections
    will see newly-arrived messages with \Recent set and which will see it
    without \Recent set.
    """

    Regards,
    Chris

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedMar 16, '10 at 12:53p
activeMar 16, '10 at 1:57p
posts2
users2
websitepython.org

2 users in discussion

Chris Rebert: 1 post Freakrobot: 1 post

People

Translate

site design / logo © 2022 Grokbase