protected virtual void AcceptMessage(ISmtpMessage message, bool incoming) { message.Accept(); Auditor?.ForEach(a => a.Log(AuditNames.Message.GetAcceptedMessage(incoming), a.BuildAuditLogMessage.Build(message))); }
protected virtual void AcceptMessage(ISmtpMessage message, bool incoming) { message.Accept(); m_auditor.Log(AuditNames.Message.GetAcceptedMessage(incoming), this.BuildAuditLogString(message)); }
protected virtual void AcceptMessage(ISmtpMessage message, bool incoming) { message.Accept(); Auditor.ForEach(a => a.Log(AuditNames.Message.GetAcceptedMessage(incoming), a.BuildAuditLogMessage.Build(message))); }