wodPop3Server ActiveX Control - ReadMessage Event
    
 

Description

Fires when user wants to read a message.


Syntax

Private Sub object_ReadMessage(User, MessageNumber)



The ReadMessage Event syntax has these parts:

Part Description
object A wodPop3Server object.
User A Pop3User object. Reference to user who reads message.
MessageNumber An Integer value. Index of the message in Messages collection.

Remarks

This event will be fired 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.