ImapUtf7EncodeFolderNames Property
Gets or sets whether MailBee should automatically encode folder names with UTF-7 Modified encoding.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public bool Utf7EncodeFolderNames { get; set; }

Property Value

Type: Boolean
If 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.
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