User Tools

Site Tools


reference:vpop3.getfolders

This is an old revision of the document!


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 https://tools.ietf.org/html/rfc3501 section 5.1.3) and the value is a table of:

  • Count - number of messages in this folder
  • Size - total size (in bytes) of messages in this folder
  • Unread - number of unread messages in this folder
reference/vpop3.getfolders.1457622573.txt.gz · Last modified: 2018/11/14 10:44 (external edit)