 | ImapSendCommand(String, Boolean) Method |
Sends command and waits for the server response.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic 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 String
- Command e.g. "NOOP".
- throwException Boolean
- If true throws ImapResponseException on error response.
Return Value
ImapResponseIMAP response object.
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also