Skip to main content

Move-Mail

Command Description

Move the the emails of original folder to a specified folder

Command Prototype

IBMNotes.Move(pwd ,messageJson ,sourcePath,destPath)

Parameter Description

ParameterRequiredTypeDefaultDescription
pwdTruestring""Login password bound to the mailbox of IBM Notes
messageJsonTrueexpression{}The mail object in the mailing list
sourcePathTruestring""Find the message in mailbox folder. For instance, the "Inbox", "Junk mail" should be converted to "$Inbox", "$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"
destPathTruestring""The mailbox folder to which the mail message was moved

Demo