FolderName Property
Gets the full name of the folder including parent folder names if any.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public string Name { get; }

Property Value

Type: String
The string containing the full name of the folder including parent folder names if any.
Remarks

The typical values returned by this property are: "Inbox", "Sent.Orders", "INBOX\From John Doe".

To get short name of the folder (without parent path), the developer can use ShortName property. For instance, the full folder names from the paragraph above correspond to the following short names: "Inbox", "Orders", "From John Doe".

To get a character which is used to delimit folder levels on the current server, the developer can use Delimiter property. For instance, ShortName of "Sent.Orders" is "Sent" only if Delimiter is ".". If, however, the delimiter is another character, ShortName will return "Sent.Orders". The most popular delimiter nowadays is "/".

MailBee automatically decodes international folder names presented in UTF-7 Modified encoding (see IMAP4 protocol specification in RFC3501 for details on UTF-7 Modified encoding). However, the original name (not decoded from UTF-7 Modified) is still available via RawName property.

Note Note
This property returns a null reference (Nothing in Visual Basic) if IsValid is false.
See Also