wodPop3 ActiveX Control - GetAll Method
      
 

Description

Reads all messages from the server.


Return Type

None  


Syntax

object.GetAll



The GetAll Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Pop3Msgs.

Remarks

GetAll method will download all messages from the server to local files, except if Message.MarkGet property is set to False for the message. Once it finishes, it will fire Done event.

After each message is received, Received event will be fired as well - so you can inspect message content immediately (or you can do it later on, depends on your choice).

During message transfer, Progress event will be fired.

You can use this method to automatically retrieve all messages from the server, disconnect, and then evaluate messages later on. For each downloaded message, file will be created on local disk where message will be saved. If you don't specify Filename for the message, temporary file is created for each individual message, and deleted when message object is destroyed.

If you set  MarkGet to False, that specific message will not be downloaded. By default, when you connect to the server, MarkGet is set to True for each individual message.

To retrieve individual message from the server, use Message.Get method.