This documentation is archived and is not being maintained.

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

protected event DataCommandEventHandler OnDataCommand
/** @event */
protected void add_OnDataCommand (DataCommandEventHandler value)

/** @event */
protected void remove_OnDataCommand (DataCommandEventHandler 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