VPOP3.GetFolders Lua function

The Lua management function 'VPOP3.GetFolders' retrieves a table containing all the mail folders for a specified user.

VPOP3.GetFolders(username);

It returns a table where the key is the folder name (in IMAP4 UTF-7 encoded format - see RFC 3501 section 5.1.3) and the value is a table of: