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