MailBee.NET Objects 4.0

Imap.GetServerResponses Method 

Returns the specified individual responses from the last group of responses received from the server.

public string[] GetServerResponses(
   string responseName
);

Parameters

responseName
The name (case-insensitive) of the individual responses to be returned, or a null reference (Nothing in Visual Basic) if all available responses should be returned.

Return Value

Array of strings containing the responses with the given name.

Remarks

The IMAP4 server may return multiple responses to a single request from the client. While GetServerResponse method returns the very last response, GetServerResponses method can be used to obtain any of the responses returned as the result of the last executed command.

The typical names of IMAP4 responses are: OK, BAD, FETCH, SEARCH, LIST, etc. This method can return both tagged and untagged responses. See the IMAP4 protocol specification (RFC3501) for more information regarding IMAP4 responses.

See Also

Imap Class | MailBee.ImapMail Namespace