ImapUtilsFromUtf7String Method
Converts the specified string from the IMAP4 UTF-7 Modified encoding into human-readable form.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public static string FromUtf7String(
	string s


Type: SystemString
The string (usually, a folder name) to be converted from the IMAP4 UTF-7 Modified string.

Return Value

Type: String
The decoded human-readable string, or a null reference (Nothing in Visual Basic) if s is a null reference.
This method can be used to decode UTF-7 Mofified folder names into real values.
Note Note
All Imap methods which deal with folder names apply UTF-7M automatically and produce Folder objects which already have their Name and ShortName values properly decoded (although RawName is also available). There is no need to use FromUtf7String(String) method in this case. The same is true for folder names in other objects (such as FolderStatus).
See Also