wodPop3 ActiveX Control - Done Method
      
 

Description

Called when wodPOP3 component finishes execution of some method.


Return Type

None  


Syntax

object.Done Owner, ErrorCode, ErrorText, HeadersOnly



The Done Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodPopClientNotify.
Owner Required. A wodPop3 object. Reference to wodPop3 component instance that called this method.
ErrorCode Required. A Long value. Holds error code, if any.
ErrorText Required. A String value. Text description of the error, if any.
HeadersOnly Required. A Boolean value. Specifies if only headers were received (True), or full message body (False).

Remarks

NOTE: This method is called only if you implemented IwodPop3ClientNotify interface in your application, and wodPop3.Notification property has received reference to instance of your implementation.

Done is a notification method called as a result of async method you called previously, like Get, GetAll etc.. Once this method is called, you are free to execute next method.

If error occurred as a result of previous method execution, ErrorCode and ErrorText will contain description of the error.

If you used GetHeaders or GetAllHeaders method, HeadersOnly argument will be True, otherwise it will be False.