Click or drag to resize
MimeKit

MailServiceOnConnected Method

Raise the connected event.

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

Parameters

host
Type: SystemString
The name of the host that the client connected to.
port
Type: SystemInt32
The port that the client connected to on the remote host.
options
Type: MailKit.SecuritySecureSocketOptions
The SSL/TLS options that were used when connecting.
Remarks
Raises the connected event.
See Also