Hunny Software Library Reference

OkResponse Class

Class that represents an IMAP4 OK response.

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

System.Object
   Response
      BaseStatusResponse
         OkResponse

[Visual Basic]
Public Class OkResponse
Inherits BaseStatusResponse
[C#]
public class OkResponse : BaseStatusResponse

Remarks

An OK response indicates a positive result at the server. If the OK response is tagged, it indicates that the client command with the same tag succeeded. If the OK response is untagged (that is, the tag is "*"), then it contains information from the server in a response code.

When you receive an OkResponse following a client command, you should check the tag of the OkResponse by getting the inherited Tag member function. If the tag is "*", it indicates an informational message from the server. In this case, you may want to check the response code by getting the ResponseCode property. If the tag is not "*", then this response indicates that the client command with the same tag was successful.

Typically, an OK response contains human-readable text. You can get this text by getting the inherited ResponseText property.

Requirements

Namespace: Hunny.Mail

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

See Also

OkResponse Members | Hunny.Mail Namespace | OK response in the IMAP4 specification