예제 #1
0
 private void OnCommandExecuting(object sender, SmtpCommandExecutingEventArgs e)
 {
     // nothing to show or tell the user
 }
예제 #2
0
파일: Program.cs 프로젝트: ccpu/SmtpServer
 static void OnCommandExecuting(object sender, SmtpCommandExecutingEventArgs e)
 {
     new TracingSmtpCommandVisitor(Console.Out).Visit(e.Command);
 }
예제 #3
0
 static void OnCommandExecuting(object sender, SmtpCommandExecutingEventArgs e)
 {
     ((List <SmtpCommand>)e.Context.Properties["Commands"]).Add(e.Command);
 }
예제 #4
0
            static void OnCommandExecuting(object sender, SmtpCommandExecutingEventArgs e)
            {
                Console.WriteLine("Command executing.");

                new TracingSmtpCommandVisitor(Console.Out).Visit(e.Command);
            }
예제 #5
0
 private void ServerSession_OnCommandExecuting(object sender, SmtpCommandExecutingEventArgs e)
 {
     // Trigger the Session Command Executing event for the Listener
     SessionCommandExecuting?.Invoke(sender, e);
 }