Pop Object : CommandEx Method |
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.
You must correctly set Multiline for the command being sent. If a multiline response is specified, but not returned from the server, this method times out looking for a response termination sequence. If a Multiline reply is received but not specified, only the first line of the response returns.
Command should not include a trailing CR/LF.
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):