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.