Download-Attachment
Command Description
Download the attachment in the specified mail message
Command Prototype
arrayRet = IBMNotes.DownloadAttachments(pwd,messageJson, savePath,nTimeOut)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
pwd | True | string | "" | Login password bound to the mailbox of IBM Notes |
messageJson | True | expression | {} | The mail object in the mailing list |
savePath | True | path | '''C:\Users''' | For the path saved in the mail attachment, you can fill in the absolute path or use @ res "path" to represent the path under the res folder of the current process. The path separator needs to be escaped, such as "C:\Laiye RPA" or @res"Laiye RPA\Laiye RPA" |
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