Indy 9
TIdPOP3ServerMessageNumberEvent
See Also, Unit: IdPOP3Server
Event type triggered from command handlers that use message numbers.
TIdPOP3ServerMessageNumberEvent = procedure (ASender: TIdCommand; AMessageNum :Integer) of object;
Unit
IdPOP3Server
Parameters
AMessageNum
Message number to be affected in the mailbox.
ASender
Command handler procedure generating the event.
Description
TIdPOP3ServerMessageNumberEvent is an event type triggered when a command handler for the server executes a POP3 command that acts upon the message numbers. TIdPOP3ServerMessageNumberEvent is the type used to represent TIdPOP3Server event handlers like:

  • OnLIST

  • OnRETR

  • OnDELE

  • OnUIDL

POP3 commands that trigger a TIdPOP3ServerMessageNumberEvent event are only valid when the TIdPOP3ServerState is Tran. In some situations, AMessageNum is an optional POP3 command parameter, and can contain -1 when a value isn't specified by the client connection. Some functions require this capability. For example, the LIST command can operate either by a certain message number or a with no arguments. See RFC1939 for details.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.