Sends a custom command to the POP3 server.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Sub SendCommand ( _ command As String, _ multiline As Boolean _ ) |
C# |
---|
public void SendCommand( string command, bool multiline ) |
Parameters
- command
- Type: System..::..String
Command (e.g. "HELP").
- multiline
- Type: System..::..Boolean
Indicates whether the response for the command is multiline or single line.
Remarks
Must be followed by either one or more calls to ReadResponse method, depending on the value of multiline parameter.
Use ReadResponse and SendCommand to implement various custom commands.