Reply to an email
Command Description
Reply to messages via Office365 Outlook
Command Prototype
Office365.ReplyToMail(o365Ctx ,strAccount ,objMailMessage ,addTo ,addCc ,addBcc ,strSubject ,strBody ,strImportance ,bDraft ,bAsHtml ,arrAttachments ,bReplyAll ,strBehalf)
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 |
addTo | True | string | "" | The added recipient email address can be an array containing multiple email addresses or a single email string |
addCc | True | string | "" | The added cc email address can be an array containing multiple email addresses or a single email string |
addBcc | True | string | "" | The added confidential email address can be an array containing multiple email addresses or a single email string |
strSubject | True | string | "" | Subject of response |
strBody | True | richText | "" | The body content of the response, which supports HTML type body content |
strImportance | True | enum | "Normal" | importance |
bDraft | True | boolean | False | Do you want to save a draft |
bAsHtml | True | boolean | True | Is it in HTML format |
arrAttachments | True | array | [] | Email attachments can be an array containing multiple attachment paths or a string of attachment paths |
bReplyAll | True | boolean | False | Response to everyone |
strBehalf | True | string | "" | Proxy account requires relevant configuration, default is empty |
Return result
Run instance
/*********************************回复邮件****************************************
命令原型:
Office365.ReplyToMail(o365Ctx ,strAccount ,objMailMessage ,addTo ,addCc ,addBcc ,strSubject ,strBody ,strImportance ,bDraft ,bAsHtml ,arrAttachments ,bReplyAll ,strBehalf)
入参:
o365Ctx--Office365对象.注:连接Office365服务器返回的对象
strAccount--帐户.注:待操作的帐户
objMailMessage--邮件对象.注:邮件列表中的邮件对象
addTo--增加的收件人.注:增加的收件人邮箱地址,可以是一个包含多个邮箱地址的数组,也可以是一个单独的邮箱字符串
addCc--增加的抄送邮箱.注:增加的抄送邮箱地址,可以是一个包含多个邮箱地址的数组,也可以是一个单独的邮箱字符串
addBcc--增加的密送邮箱.注:增加的密送邮箱地址,可以是一个包含多个邮箱地址的数组,也可以是一个单独的邮箱字符串
strSubject--邮件主题.注:回复的主题
strBody--邮件正文.注:回复的正文内容,支持HTML类型的正文内容
strImportance--重要性.注:重要性
bDraft--存草稿.注:是否存草稿
bAsHtml--html格式.注:是否html格式
arrAttachments--邮件附件.注:邮件附件,可以是一个包含多个附件路径的数组,也可以是一个附件路径字符串
bReplyAll--回复所有人.注:是否回复所有人
strBehalf--代发帐户.注:代发帐户,需要做相关的配置,默认为空
出参:
无
注意事项:
无
********************************************************************************/
Office365.ReplyToMail(o365Ctx ,"" ,{} ,"" ,"" ,"" ,"" ,"" ,"Normal" ,False ,True ,[] ,False ,"")