User Tools

Site Tools


reference:vpop3.getfolders

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:

  • 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.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1