String GetFolderList(NSEMailConnectionInfo connectionInfo, Bool includeItemCount)
Retrieve all folders for the mail account. String is separated in sections by the paragraph character. First section contains the folder delimeter char. Next is folder name. Additional sections may be unread and total items.
- connectionInfo All information needed to connect to the mailserver
- includeItemCount If true, unread and total items are added to the foldername separated by a comma
NSEMailAgent agent; NSEMailConnectionInfo connectionInfo; Bool includeItemCount; String res = agent.GetFolderList(connectionInfo, includeItemCount);