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