| Pop3SendCommandAsync Method (String, Boolean) |
Sends command, which expects to receive single-line response, to POP3 server (e.g. "STAT").
Namespace:
Limilabs.Client.POP3
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<Pop3Response> SendCommandAsync(
string command,
bool throwException
)
Public Function SendCommandAsync (
command As String,
throwException As Boolean
) As Task(Of Pop3Response)
public:
Task<Pop3Response^>^ SendCommandAsync(
String^ command,
bool throwException
)
member SendCommandAsync :
command : string *
throwException : bool -> Task<Pop3Response>
Parameters
- command
- Type: SystemString
Command e.g. "STAT". - throwException
- Type: SystemBoolean
If true throws Pop3ResponseException on error response
Return Value
Type:
TaskPop3ResponseSingle-line response object.
Remarks
Some commands have their own specialized methods in this class, you should probably use them instead.
See Also