Click or drag to resize
MimeKit

IPop3ClientEnableUTF8 Method

Enable UTF8 mode.

Namespace: MailKit.Net.Pop3
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
void EnableUTF8(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.
Exceptions
ExceptionCondition
ObjectDisposedException The Pop3Client has been disposed.
ServiceNotConnectedException The Pop3Client is not connected.
InvalidOperationException The Pop3Client has already been authenticated.
OperationCanceledException The operation was canceled via the cancellation token.
NotSupportedException The POP3 server does not support the UTF8 extension.
IOException An I/O error occurred.
Pop3CommandException The POP3 command failed.
Pop3ProtocolException A POP3 protocol error occurred.
Remarks
The POP3 UTF8 extension allows the client to retrieve messages in the UTF-8 encoding and may also allow the user to authenticate using a UTF-8 encoded username or password.
See Also