Skip to main content

Download-Attachment

Command Description

Download the attachment in the specified mail message

Command Prototype

arrayRet = IBMNotes.DownloadAttachments(pwd,messageJson, savePath,nTimeOut)

Parameter Description

ParameterRequiredTypeDefaultDescription
pwdTruestring""Login password bound to the mailbox of IBM Notes
messageJsonTrueexpression{}The mail object in the mailing list
savePathTruepath'''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"
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