次の方法で共有


SmtpReceiveAgent.OnConnect event

The OnConnect event occurs when the server receives a Simple Mail Transfer Protocol (SMTP) connection.

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

Syntax

'Declaration
Protected Event OnConnect As ConnectEventHandler
'Usage
Dim handler As ConnectEventHandler

AddHandler Me.OnConnect, handler
protected event ConnectEventHandler OnConnect

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace