wodPop3 ActiveX Control - Received Method
      
 

Description

Called when wodPOP3 component finishes receiving the message.


Return Type

None  


Syntax

object.Received Owner, Message, HeadersOnly



The Received 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.
Message Required. A Pop3Msg object. Reference to the message that was received.
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.

Received is a notification method called by wodPop3 when it finishes receiving message, or message headers. It is called as a result of Get, GetHeaders, GetLines,   GetAll, GetAllHeaders and GetAllLines methods. Usually, if only one message was received (through Get and GetHeaders), Done notification method will be called immediately after this notification. If multiple messages are being received, then Received notification will be called after each message, and Done notification will be called only once - when complete job is finished.

You should always wait for Done notification to execute other method.