MailBee.NET Objects 3.1

ImapUtils.FromUtf7String Method 

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

public static string FromUtf7String(
   string s
);

Parameters

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

Return Value

The decoded human-readable string, or a null reference (Nothing in Visual Basic) if s is a null reference.

Remarks

This method can be used to decode UTF-7 Mofified folder names into real values.

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 method in this case. The same is true for folder names in other objects (such as FolderStatus).

See Also

ImapUtils Class | MailBee.ImapMail Namespace | ToUtf7String