Skip to main content
Version: v6.5.0

Download email

Command Description​

Download Office365 Outlook Mail Objects

Command Prototype​

Office365.DownloadMail(o365Ctx ,strAccount ,objMailMessage ,strLocPath)

Command parameter​

parameterrequiredtypeDefault valuedescribe
o365CtxTrueexpressiono365CtxObjects returned by connecting to the Office365 server
strAccountTruestring""Account to be operated
objMailMessageTrueexpression{}Email objects in the mailing list
strLocPathTruepath''' C:\Users'''Eml file save path

Return result​

Run instance​

/*********************************下载邮件****************************************
命令原型:
Office365.DownloadMail(o365Ctx ,strAccount ,objMailMessage ,strLocPath)
入参:
o365Ctx--Office365对象.注:连接Office365服务器返回的对象
strAccount--帐户.注:待操作的帐户
objMailMessage--邮件对象.注:邮件列表中的邮件对象
strLocPath--保存路径.注:eml文件保存路径
出参:
无
注意事项:
无
********************************************************************************/
Office365.DownloadMail(o365Ctx ,"" ,{} ,'''C:\Users''')