Share via


SmtpReceiveAgent.OnAuthCommand event

The OnAuthCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)AUTH command and before the server responds to the command.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Protected Event OnAuthCommand As AuthCommandEventHandler
'Usage
Dim handler As AuthCommandEventHandler

AddHandler Me.OnAuthCommand, handler
protected event AuthCommandEventHandler OnAuthCommand

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace