Issues a command to POP server and reads response.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public string IssueCommandMultiLine( string command ) |
Visual Basic |
---|
Public Function IssueCommandMultiLine ( _ command As String _ ) As String |
Visual C++ |
---|
public: String^ IssueCommandMultiLine( String^ command ) |
Parameters
- command
- Type: System..::..String
The command to issue.
Return Value
The multiple-line POP server response.
Examples
This example reads the multiple-line response of the TOP command.
The TOP command requires the one-based message Id and the number of lines to read as parameters.
CopyPop IssueCommandMultiLine
CopyPop IssueCommandMultiLine

String response = myPop.IssueCommandMultiLine("TOP 1 10");

Dim response As String = myPop.IssueCommandMultiLine("TOP 1 10")