Skip to main content
Version: v6.5.0

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​

ParameterRequiredTypeDefaultDescription
pwdTruestring""Login password bound to the mailbox of IBM Notes
folderTruestring""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"
countTruenumber0Specify the number of emails to obtain, 0 means to obtain all
nTimeOutTruenumber30000Specify 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​