Command Event
Reports a command sent to the server.
Syntax
public event OnCommandHandler OnCommand; public delegate void OnCommandHandler(object sender, Pop3clientCommandEventArgs e); public class Pop3clientCommandEventArgs : EventArgs { public string Cmd { get; } }
Public Event OnCommand As OnCommandHandler Public Delegate Sub OnCommandHandler(sender As Object, e As Pop3clientCommandEventArgs) Public Class Pop3clientCommandEventArgs Inherits EventArgs Public ReadOnly Property Cmd As String End Class
Remarks
The component fires this event whenever it sends a POP3 command to the server. Use CommandReply and CommandReplyData to track the server's responses.