共用方式為


SmtpReceiveAgent.OnDataCommand event

The OnDataCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)DATA command.

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

Syntax

'Declaration
Protected Event OnDataCommand As DataCommandEventHandler
'Usage
Dim handler As DataCommandEventHandler

AddHandler Me.OnDataCommand, handler
protected event DataCommandEventHandler OnDataCommand

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace