Sends command which expects to recive single-line response e.g. "STAT".
Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll)
Version: 2.7.2897.36617
Syntax
| C# |
|---|
public Pop3Response SendCommand( string command ) |
| Visual Basic (Declaration) |
|---|
Public Function SendCommand ( _ command As String _ ) As Pop3Response |
| Visual C++ |
|---|
public: Pop3Response^ SendCommand ( String^ command ) |
Parameters
- command
- String
Command e.g. "STAT".
Return Value
Single-line response object.
Remarks
Some commands have their own specialized methods in this class,
you should probably use them insted.
This is equal to 'SendCommand(command,true);'.
Exceptions
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::ServerException | Throws ServerException on -ERR response. |
See Also
Pop3 Class
Lesnikowski.Client Namespace