Hunny Software Library Reference

StatusResponse Class

Class that represents an IMAP4 STATUS response.

For a list of all members of this type, see StatusResponse Members.

System.Object
   Response
      StatusResponse

[Visual Basic]
Public Class StatusResponse
Inherits Response
[C#]
public class StatusResponse : Response

Remarks

StatusResponse is a class that represents an IMAP4 STATUS response.

An IMAP4 server sends a STATUS response in response to a STATUS command. The STATUS response includes a mailbox name and the requested status information for that mailbox.

Some of the status data items may not be present in the STATUS response, because the server sends only the data items that were requested in the STATUS command. This class does not provide a way to tell if a data item was absent from the RESPONSE. You should assume that the status data items are present only if your corresponding STATUS command requested those data items. For example, if your STATUS command requested the MESSAGES data item (the number of messages in the mailbox), then you can assume that the value of the StatusResponse.Messages property is the value of the MESSAGES data item received in the STATUS response. Conversely, if you did not request the MESSAGES data item, then the value of StatusResponse.Messages property is undefined.

Important: It is a violation of the IMAP4 protocol to use the STATUS command to get information about the currently selected mailbox. This point is clearly stated in RFC 3501, the most recent revision of the IMAP4 specification.

Requirements

Namespace: Hunny.Mail

Assembly: Hunny.Mail (in Hunny.Mail.dll)

See Also

StatusResponse Members | Hunny.Mail Namespace | Imap4Client.Status method | STATUS response in the IMAP4 specification