Get-Folder-List-of-Mailbox
Command Description
Connect according to the specified IMAP. Get the system folder in mailbox and my folder list
Command Prototype
arrayRet = IMAP.GetFolderList(objIMAP, bOriFolderInfo)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objIMAP | True | expression | objIMAP | The controllable connection object returned by the "connect mailbox" command |
bOriFolderInfo | True | boolean | None | Because the original messages returned by different mailbox servers are different, if yes is selected, the original message will be returned directly; otherwise, the mailbox folder information extracted based on certain extraction rules will be returned |
return
arrayRet,The variable used to save the output of the command.
Demo
arrayRet = IMAP.GetFolderList(objIMAP, false)
TracePrint(arrayRet)
/*
[
"Other folders",
"INBOX",
"Sent Messages"
]
*/