Office.MessageForm interface
表示用于撰写新邮件的表单的详细信息。
属性
| attachments | 设置邮件的附件。 附件必须是文件 |
| bcc |
设置邮件的密件抄送字段中的收件人。 |
| cc |
在邮件的“抄送”字段中设置收件人。 |
| html |
设置消息的正文。 |
| subject | 设置消息的主题。 |
| to |
在邮件的“收件人”字段中设置收件人。 |
属性详细信息
attachments
设置邮件的附件。 附件必须是文件 Office.MailboxEnums.AttachmentType.File 附件 () 或 Outlook 项目附件 (Office.MailboxEnums.AttachmentType.Item) 。
attachments?: MessageFormAttachment[];
属性值
注解
最低权限级别: 读取项
bccRecipients
设置邮件的密件抄送字段中的收件人。
bccRecipients?: string[] | EmailAddressDetails[];
属性值
string[] | Office.EmailAddressDetails[]
注解
最低权限级别: 读取项
重要提示:数组 bccRecipients 限制为最多 100 个收件人。
ccRecipients
在邮件的“抄送”字段中设置收件人。
ccRecipients?: string[] | EmailAddressDetails[];
属性值
string[] | Office.EmailAddressDetails[]
注解
最低权限级别: 读取项
重要提示:数组 ccRecipients 限制为最多 100 个收件人。
htmlBody
subject
toRecipients
在邮件的“收件人”字段中设置收件人。
toRecipients?: string[] | EmailAddressDetails[];
属性值
string[] | Office.EmailAddressDetails[]
注解
最低权限级别: 读取项
重要提示:数组 toRecipients 限制为最多 100 个收件人。