MailServiceOnConnected Method

Raise the connected event.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected virtual void OnConnected(
	string host,
	int port,
	SecureSocketOptions options
)

Parameters

host  String
The name of the host that the client connected to.
port  Int32
The port that the client connected to on the remote host.
options  SecureSocketOptions
The SSL/TLS options that were used when connecting.

Remarks

Raises the connected event.

See Also