Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

ImapNormalizeFolder

function ImapNormalizeFolder(const aFolder: string): string;
Folder-name normalisation: the spaces around the name and its segments are trimmed (MailTrimFolderName), and INBOX is case-insensitive and canonicalises to 'INBOX' (RFC 3501 sec.5.1).