Platform SDK: Exchange 2000 Server

Listing of Unread Messages

[This is preliminary documentation and subject to change.]

The following example demonstrates listing messages in a folder that have not yet been read. The query for this operation is:

SELECT "DAV:href", "DAV:contentclass", ...
FROM SCOPE('deep traversal of "URL"')
WHERE "urn:schemas:httpmail:read" =  False AND
      "DAV:ishidden"              =  False