On Wed, 25 May 2005, Mike Schmidt wrote:
Can anyone explain the automatic behaviour of the IMAP \Seen flag in c-client?
The \Seen flag is manipulated in accordance with the requirements of the IMAP specification (RFC 3501).
Functions mail_fetch_header(), mail_fetch_text(), and mail_fetch_body() all set \Seen automatically unless the FT_PEEK flag is supplied.
As for what the shortcuts (e.g. mail_fetchheader, mail_fetchtext) do, look at their definitions in mail.h. These shortcuts are macros into the real functions. In general, fetching headers in the shortcuts do not set \Seen and fetch text/body in the shortcuts set \Seen.
-- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum. _______________________________________________ Imap-uw mailing list [email protected] https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
