Download attachments
Command Description
Download attachments for Office 365 Outlook mail objects
Command Prototype
Office365.DownloadAttachments(o365Ctx ,strAccount ,objMailMessage ,strLocPath)
Command parameter
parameter | required | type | Default value | describe |
---|---|---|---|---|
o365Ctx | True | expression | o365Ctx | Objects returned by connecting to the Office365 server |
strAccount | True | string | "" | Account to be operated |
objMailMessage | True | expression | {} | Email objects in the mailing list |
strLocPath | True | path | ''' C:\Users''' | Attachment save path |
Return result
Run instance
/*********************************下载附件****************************************
命令原型:
Office365.DownloadAttachments(o365Ctx ,strAccount ,objMailMessage ,strLocPath)
入参:
o365Ctx--Office365对象.注:连接Office365服务器返回的对象
strAccount--帐户.注:待操作的帐户
objMailMessage--邮件对象.注:邮件列表中的邮件对象
strLocPath--保存路径.注:附件保存路径
出参:
无
注意事项:
无
********************************************************************************/
Office365.DownloadAttachments(o365Ctx ,"" ,{} ,'''C:\Users''')