Partager via


SmtpReceiveAgent.OnRcptCommand Event

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

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Protected Event OnRcptCommand As RcptCommandEventHandler
protected event RcptCommandEventHandler OnRcptCommand
protected:
event RcptCommandEventHandler^ OnRcptCommand {
    void add (RcptCommandEventHandler^ value);
    void remove (RcptCommandEventHandler^ value);
}
/** @event */
protected void add_OnRcptCommand (RcptCommandEventHandler value)

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

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003