ImapUtf7EncodeFolderNames Property |
Gets or sets whether MailBee should automatically encode folder names with UTF-7 Modified encoding.
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool Utf7EncodeFolderNames { get; set; }
Public Property Utf7EncodeFolderNames As Boolean
Get
Set
Property Value
Type:
BooleanIf
true, any method of
Imap component which can send requests
containing folder names will automatically apply UTF-7 Modified transformation to these
names; otherwise, MailBee will leave folder names intact. The default value is
true.
Remarks The developer might need to disable automatic UTF-7 Modified transformations when working
with folders whose names do not comply with IMAP4 naming convention which requires non-ASCII characters
be encoded with UTF-7M. In this case, the developer can use
RawName and
RawFolderName
instead of
Name and
FolderName when passing folder name to the
Imap class method,
or
ToUtf7String(String) and
FromUtf7String(String) methods to manually perform UTF-7M transformations when desired.
See Also