Dart Smtp, Pop, Imap Controls
CommandEx 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 CommandEx( _
   ByVal Command As String, _
   ByRef Reply As Variant _
) 
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

This method is functionally equivalent to Command, but CommandEx can be used in a scripting environment.

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.

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