Skip to main content
Version: v6.5.0

Mobile Mail

Command Description​

Move Office 365 Outlook mail objects to a specified folder

Command Prototype​

Office365.MoveMail(o365Ctx ,strAccount ,objMailMessage, strFolderName)

Command parameter​

parameterrequiredtypeDefault valuedescribe
o365CtxTrueexpressiono365CtxObjects returned by connecting to the Office365 server
strAccountTruestring""Account to be operated
objMailMessageTrueexpression{}Email objects in the mailing list
strFolderNameTruestring""The email folder that needs to be obtained can be a path, such as "inbox/subdirectories"

Return result​

Run instance​

/*********************************移动邮件****************************************
命令原型:
Office365.MoveMail(o365Ctx ,strAccount ,objMailMessage, strFolderName)
入参:
o365Ctx--Office365对象.注:连接Office365服务器返回的对象
strAccount--帐户.注:待操作的帐户
objMailMessage--邮件对象.注:邮件列表中的邮件对象
strFolderName--邮箱文件夹.注:需要获取的邮箱文件夹,可以为路径,如"收件箱/子目录"
出参:
无
注意事项:
无
********************************************************************************/
Office365.MoveMail(o365Ctx ,"" ,{}, "")