Description
-
Called when user wants to read a message.
Return Type
-
None
Syntax
-
object.ReadMessage Owner,
User, MessageNumber
The ReadMessage Method syntax has these parts:
object |
An expression
evaluating to an object of type wodPop3Notify. |
Owner |
A wodPop3ServerCom
object. Reference to wodPop3ServerCom instance that
called this callback method. |
User |
A Pop3User object.
Reference to user who reads message. |
MessageNumber |
An Integer
value. Index of the message in Messages
collection. |
Remarks
-
NOTE: This method is called only if you
implemented IwodPop3Notify interface in your application,
and wodPop3Server1.Notification
property has received reference to
instance of your implementation.
This notification method will be called each time user
wants to read message (using 'RETR' command) so you
can internally add 'read' flag to it, like other
POP3 servers do. If you want to add more implementation
code to your server, you can even send someone else
notification that particular message is read by the user
(like 'Request receipt' that some clients have).
This is all up to you and your needs.
|