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 microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Protected Event OnDataCommand As DataCommandEventHandler
protected event DataCommandEventHandler OnDataCommand
protected:
event DataCommandEventHandler^ OnDataCommand {
void add (DataCommandEventHandler^ value);
void remove (DataCommandEventHandler^ value);
}
/** @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.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003