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


Protected Event OnEhloCommand As EhloCommandEventHandler
protected event EhloCommandEventHandler OnEhloCommand
event EhloCommandEventHandler^ OnEhloCommand {
    void add (EhloCommandEventHandler^ value);
    void remove (EhloCommandEventHandler^ value);
/** @event */
protected void add_OnEhloCommand (EhloCommandEventHandler value)

/** @event */
protected void remove_OnEhloCommand (EhloCommandEventHandler value)
JScript supports the use of events, but not the declaration of new ones.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003