共用方式為


SmtpReceiveAgent.OnHeloCommand event

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

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

Syntax

'Declaration
Protected Event OnHeloCommand As HeloCommandEventHandler
'Usage
Dim handler As HeloCommandEventHandler

AddHandler Me.OnHeloCommand, handler
protected event HeloCommandEventHandler OnHeloCommand

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace