Get-Mail-List
Command Description
Get the message list in a specified mailbox, and return as an array
Command Prototype
arrayRet = IBMNotes.GetMailList(pwd,folder,count,nTimeOut)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
pwd | True | string | "" | Login password bound to the mailbox of IBM Notes |
folder | True | string | "" | Find the message in mailbox folder. For instance, the "Inbox", "Drafts", "Sent", "All", "Junk Mail" should be switch to "$Inbox", "$Drafts", "$Sent", "$All", "$JunkMail". No need to convert custom created floders or sub-folders. Just fill in the original folder name. But sub-folder name is in the form of a path, such as "I am a folder/I am a sub-folder" |
count | True | number | 0 | Specify the number of emails to obtain, 0 means to obtain all |
nTimeOut | True | number | 30000 | Specify the waiting time(in milliseconds), by default 30000 milliseconds. Timeout will cause exception |
return
arrayRet,The variable used to save the output of the command.
Demo