Share via


IMAP_RESPONSE_DATA structure

[IMAP_RESPONSE_DATA is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Contains the results of an Internet Message Access Protocol (IMAP) response that is dependent on an IMAP_RESPONSE_TYPE value.

Syntax

typedef struct tagIMAP_RESPONSE_DATA {
  MBOX_MSGCOUNT          *pmcMsgCount;
  DWORD                  dwDeletedMsgSeqNum;
  FETCH_BODY_PART        *pFetchBodyPart;
  FETCH_CMD_RESULTS      *pFetchResults;
  IMAP_MSGFLAGS          imfImapMessageFlags;
  DWORD                  dwUIDValidity;
  BOOL                   bReadWrite;
  IRangeList             *prlSearchResults;
  IMAP_LISTLSUB_RESPONSE illrdMailboxListing;
  IMAP_STATUS_RESPONSE   *pisrStatusResponse;
  APPEND_PROGRESS        *papAppendProgress;
  FETCH_CMD_RESULTS_EX   *pFetchResultsEx;
} IMAPADDR;

Members

pmcMsgCount

Type: MBOX_MSGCOUNT*

Occupies the structure when IMAP_RESPONSE_TYPE is irtMAILBOX_UPDATE. Contains a pointer to the MBOX_MSGCOUNT structure that contains the response information from an EXISTS, RECENT, or UNSEEN server response.

dwDeletedMsgSeqNum

Type: DWORD

Occupies the structure when IMAP_RESPONSE_TYPE is irtDELETED_MSG. Contains a DWORD that contains the message sequence number of the deleted message returned in an EXPUNGE response.

pFetchBodyPart

Type: FETCH_BODY_PART*

Occupies the structure when IMAP_RESPONSE_TYPE is irtFETCH_BODY. Contains a pointer to the FETCH_BODY_PART structure that contains a partial message body returned in a FETCH response.

pFetchResults

Type: FETCH_CMD_RESULTS*

Occupies the structure when IMAP_RESPONSE_TYPE is irtUPDATE_MSG. Contains a pointer to the FETCH_CMD_RESULTS structure that contains the FETCH response data.

imfImapMessageFlags

Type: IMAP_MSGFLAGS

Occupies the structure when IMAP_RESPONSE_TYPE is irtAPPLICABLE_FLAGS or irtPERMANENT_FLAGS. Contains one or more values from the IMAP_MSGFLAGS enumeration that indicate the list of flags returned by the server in a FLAGS response or PERMANENTFLAGS response code.

dwUIDValidity

Type: DWORD

Occupies the structure when IMAP_RESPONSE_TYPE is irtUIDVALIDITY. Contains a DWORD that contains the unique identifier validity value for the mailbox returned by the server in a UIDVALIDITY response.

bReadWrite

Type: BOOL

Occupies the structure when IMAP_RESPONSE_TYPE is irtREADWRITE_STATUS. Contains a BOOL that indicates whether the mailbox is read/write when TRUE (a READ-WRITE response code) or read-only when FALSE (a READ-ONLY response code).

prlSearchResults

Type: IRangeList*

Occupies the structure when IMAP_RESPONSE_TYPE is irtSEARCH. Contains a pointer to the IRangeList object that contains the message sequence number returned by the server in a SEARCH response.

illrdMailboxListing

Type: IMAP_LISTLSUB_RESPONSE

Occupies the structure when IMAP_RESPONSE_TYPE is irtMAILBOX_LISTING. Contains an IMAP_LISTLSUB_RESPONSE structure that contains the data returned by the server in a LIST or LSUB response.

pisrStatusResponse

Type: IMAP_STATUS_RESPONSE*

Occupies the structure when IMAP_RESPONSE_TYPE is irtMAILBOX_STATUS. Contains a pointer to the IMAP_STATUS_RESPONSE structure that contains the data returned by the server in a STATUS response.

papAppendProgress

Type: APPEND_PROGRESS*

Occupies the structure when IMAP_RESPONSE_TYPE is irtAPPEND_PROGRESS. Contains a pointer to the APPEND_PROGRESS structure that reports on the progress of the uploaded data.

pFetchResultsEx

Type: FETCH_CMD_RESULTS_EX*

Occupies the structure when IMAP_RESPONSE_TYPE is irtUPDATE_MSG_EX. Contains a pointer to the FETCH_CMD_RESULTS_EX structure that contains the extended FETCH response data.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl