| Pop3SendCommand 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 Pop3Response SendCommand(
string command,
bool throwException
)
Public Function SendCommand (
command As String,
throwException As Boolean
) As Pop3Response
public:
Pop3Response^ SendCommand(
String^ command,
bool throwException
)
member SendCommand :
command : string *
throwException : bool -> Pop3Response
Parameters
- command
- Type: SystemString
Command e.g. "STAT". - throwException
- Type: SystemBoolean
If true throws Pop3ResponseException on error response
Return Value
Type:
Pop3ResponseSingle-line response object.
Remarks
Some commands have their own specialized methods in this class, you should probably use them instead.
See Also