| ImapSendCommand Method (String, Boolean) |
Sends command and waits for the server response.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public ImapResponse SendCommand(
string command,
bool throwException
)
Public Function SendCommand (
command As String,
throwException As Boolean
) As ImapResponse
public:
ImapResponse^ SendCommand(
String^ command,
bool throwException
)
member SendCommand :
command : string *
throwException : bool -> ImapResponse
Parameters
- command
- Type: SystemString
Command e.g. "NOOP". - throwException
- Type: SystemBoolean
If true throws ImapResponseException on error response.
Return Value
Type:
ImapResponseIMAP response object.
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also