Internet Direct (Indy) Version 9.0.2 Beta
|
function CopyMsgs(const AMsgNumList: array of Integer; const AMBName: String): Boolean; overload;
If AMsgNumList is an empty array (length of zero), CopyMsg sets the return value to False and exits the method. CopyMsg requires that ConnectionState contain the value csSelected, or an EIdConnectionStateError exception will be raised.
CopyMsg calls the SendCmd method using the IMAP COPY command, and sets the return value to True when the response in ResultNo contains wsOk.