Dart Smtp, Pop, Imap Controls
Command Method
The command to send.
Where the reply from the server will be stored. A message would not be returned for this parameter when the Progress event fires, as that information would be available elsewhere.
Description
Send any protocol command to the server.
Syntax
Visual Basic
Public Sub Command( _
   ByVal Command As String, _
   ByRef Reply As String _
) 
Parameters
Command
The command to send.
Reply
Where the reply from the server will be stored. A message would not be returned for this parameter when the Progress event fires, as that information would be available elsewhere.
Remarks

Allows execution of standard and non-standard extension. The response from the server is copied to the Reply parameter, and you determine success or failure of the command.

Command should not include a trailing CR/LF.

For scripting environments, use CommandEx.

See Also

Smtp Object  | Smtp Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic