Class that represents an IMAP4 FETCH response.
For a list of all members of this type, see FetchResponse Members.
System.Object
Response
FetchResponse
FetchResponse is a class that represents an IMAP4 FETCH
response.
An IMAP4 server usually sends one or more FETCH responses in response to a FETCH or STORE command. The FETCH response has data items that contain message attributes or parts of the messages themselves. For example, a FETCH response can contain the flags associated with a message, or it can contain the header fields of a message, or it can contain the entire message. The data items that are present in a FETCH response depend on the items that were requested in the FETCH command.
This class presents a "fat" interface, in that there is a
property for each possible data item. If a data item is not present,
the property's value is null or some other invalid value. One
limitation of the interface is that you cannot request more than one
body section data item -- that is, a "BODY[...]" data item -- in a
single FETCH command.
In the typical usage, you send a FETCH request for one or more
data items using the Imap4Client.Fetch method. Then, you
iterate over the received responses, using Imap4Client.NumResponses and Imap4Client.ResponseAt, to get the
FETCH responses. For each FETCH response, you then examine the message
sequence number by getting the SequenceNumber property and extract the data
items you requested by getting other properties of
FetchResponse.
Namespace: Hunny.Mail
Assembly: Hunny.Mail (in Hunny.Mail.dll)
FetchResponse Members | Hunny.Mail Namespace | Imap4Client.Fetch method | Imap4Client.Store method | Imap4Client.UidFetch method | Imap4Client.UidStore method | FETCH response in the IMAP4 specification