MailService(IProtocolLogger) Constructor

Initializes a new instance of the MailService class.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected MailService(
	IProtocolLogger protocolLogger
)

Parameters

protocolLogger  IProtocolLogger
The protocol logger.

Remarks

Initializes a new instance of the MailService class.

Exceptions

ArgumentNullException protocolLogger is .

See Also