This structure contains information about a mailbox.
typedef struct _IMAPMAILBOXSTATUS
{
UINT nMessages;
UINT nRecentMessages;
UINT nUnseenMessages;
DWORD dwMailboxUID;
DWORD dwNextMessageUID;
DWORD dwReserved;
} IMAPMAILBOXSTATUS, *LPIMAPMAILBOXSTATUS;
Members
- nMessages
- A value specifies the total number of messages in the
mailbox.
- nRecentMessages
- A value which specifies the number of new messages that have
recently arrived in the mailbox.
- nUnseenMessages
- A value which specifies the number of unread messages in the
mailbox.
- dwMailboxUID
- A value which specifies a unique identifier for this mailbox
which corresponds to the UIDVALIDITY value returned by the IMAP
server. The actual value is determined by the server and should be
considered opaque. The protocol specification requires that a
mailbox's UID must not change unless the mailbox contents are
modified or existing messages in the mailbox have been assigned new
UIDs.
- dwNextMessageUID
- A value which specifies the predicted unique identifier that
will be assigned to a new message in the mailbox. This corresponds
to the UIDNEXT value returned by the IMAP server. The protocol
specification requires that as long as the mailbox UID is
unchanged, messages that are added to the mailbox will be assigned
a UID greater than or equal to the next UID value.
- dwReserved
- A reserved value that is undefined.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
|