Indy 9
TIdPOP3ServerTOPCommandEvent
See Also, Unit: IdPOP3Server
Event triggered during execution of the POP3 TOP command.
TIdPOP3ServerTOPCommandEvent = procedure (ASender: TIdCommand; AMessageNum :Integer; ANumLines :Integer) of object;
Unit
IdPOP3Server
Parameters
AMessageNum
Message number to be retrieved from the mailbox.
ANumLines
Number of lines to be retrieved from the message.
ASender
Command handler for the event notification.
Description
TIdPOP3ServerTOPCommandEvent is an event type that allows the POP3 server to perform processing required to implement the POP3 TOP command. TIdPOP3ServerTOPCommandEvent is the event type signalled to the TIdPOP3Server.OnTOP event handler.

ASender is the command handler generating the event notification. AMessageNum is the message number to be retrieved from the mailbox, and used to extract the number of lines indicated in ANumLines.

Note: The TIdPOP3Server command handler in ASender will not trigger the event if the thread has not been authenticated using a supported authentication method and placed in the Transaction state.

Note: AMessgeNum cannot refer to a message marked for deletion in the POP3 mailbox.


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