Description
-
Fires when user wants to read a message.
Syntax
-
Private Sub
object_ReadMessage(User,
Folder, Message)
The ReadMessage Event syntax has these parts:
object |
A wodImapServer
object. |
User |
An ImapUser object.
Reference to user who wants to read the message. |
Folder |
An ImapFolder
object. Reference to folder that contains the
message. |
Message |
An ImapMessage
object. Reference to message that will be read by the
user. |
Remarks
- ReadMessage is fired each time when wodImapServer
accesses message body contents. Until that time,
wodImapServer may have required some information about the
message (such as size, flags, etc..) but not actual body.
This is the place where you should load body if necessary, if
you haven't done so yet.
Even after message body is accessed, it is possible that
server does not read entire message at all - all of such
actions (such as body structure parsing) are done on
client's request. But - from this point on, message body
is required to be accessible by wodImapServer.
|