Share via


SmtpReceiveAgent.OnEhloCommand event

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

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

Syntax

'Declaration
Protected Event OnEhloCommand As EhloCommandEventHandler
'Usage
Dim handler As EhloCommandEventHandler

AddHandler Me.OnEhloCommand, handler
protected event EhloCommandEventHandler OnEhloCommand

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace