- 概述
- Excel
- 发行说明
- 关于 Excel 活动包
- 项目兼容性
- 受支持的字符编码
- 项目设置
- 添加或更新 Excel 敏感性标签
- 附加范围
- 自动填充
- 自动调整范围
- 更改透视表数据源
- 清除工作表/范围/表格
- 复制/粘贴范围
- 创建透视表
- 删除列
- 删除行
- 删除工作表
- 复制工作表
- 导出为 CSV
- 填充范围
- 筛选
- 筛选条件透视表
- 查找数据的首行/末行
- 查找/替换值
- 对每个 Excel 行
- 对每个 Excel 工作表
- 格式化为表格
- 设置单元格的格式
- 获取单元格颜色
- 获取 Excel 图表
- 获取 Excel 敏感性标签
- 获取选定范围
- 插入列
- 插入图表
- 插入行
- 插入工作表
- 调用 VBA
- 查找
- “匹配”功能
- 保护工作表
- 读取单元格公式
- 读取单元格值
- 读取范围
- 刷新 Excel 数据连接
- 刷新透视表
- 删除重复项
- 重命名工作表
- 运行电子表格宏
- 保存 Excel 文件
- 将 Excel 文件另存为
- 将 Excel 文件保存为 PDF 格式
- 选择范围
- 范围排序
- 分列
- 取消保护工作表
- 更新 Excel 图表
- 使用 Excel 文件
- VLookup
- 写入单元格
- 写入 CSV
- 将数据表写入 Excel
- Google Workspace
- 发行说明
- 关于“Google Workspace”活动包
- 项目兼容性
- 项目设置
- 添加参加者
- 创建活动
- 删除活动
- 修改活动
- 搜索活动
- 使用 Google 云端硬盘
- 共享文件
- 删除文件权限
- 获取文件权限
- 更新文件权限
- 复制文件
- 创建文件夹
- 删除文件
- 下载文件
- 查找文件和文件夹
- 获取文件信息
- 移动文件
- 上传文件
- 创建文档
- 创建新电子表格
- 获取邮件消息
- 发送邮件消息
- 更改标签
- 使用 Google 电子表格
- 添加/删除列
- 添加删除行
- 自动填充范围
- 添加新工作表
- 附加行
- 批量电子表格更新
- 复制工作表
- 复制粘贴范围
- 删除范围
- 删除工作表
- 获取单元格颜色
- 获取工作表
- 读取单元格
- 读取列
- 读取范围
- 读取行
- 重命名工作表
- 写入单元格
- 写入范围
- 清除范围
- 下载电子表格
- 使用 Google 文档
- 批量文档更新
- 获取文档
- 获取文本索引
- 插入文本
- 替换文本
- 读取所有文本
- 创建脚本项目
- 获取项目内容
- 上传脚本文件
- 创建部署
- 运行脚本
- 邮件
- Microsoft 365
- 发行说明
- 关于 Microsoft Office 365 活动包
- 项目兼容性
- 项目设置
- Microsoft Office 365 作用域
- 添加工作表
- 附加范围
- 清除范围
- 复制范围
- 复制工作表
- 创建工作簿
- 删除范围
- 删除工作表
- 获取单元格颜色
- 获取工作表
- 读取单元格
- 读取列
- 读取范围
- 读取行
- 重命名工作表
- 写入单元格
- 写入范围
- 设置范围颜色
- 创建表格
- 获取表格范围
- 插入列
- 删除列
- 插入行
- 删除行
- VLookup 范围
- 使用 OneDrive 和 SharePoint
- 复制文件/文件夹
- 创建文件夹
- 删除文件/文件夹
- 下载文件
- 将文件导出为 PDF
- 查找文件和文件夹
- 获取文件/文件夹
- 移动文件/文件夹
- 上传文件
- 共享文件/文件夹
- 遍历每个文件/文件夹
- 转发邮件
- 查找会议时间
- 获取邮件
- 移动邮件
- 发送邮件
- 回复邮件
- 删除邮件
- 设置邮件类别
- 添加附件
- 添加参加者
- 添加地点
- 创建活动
- 删除活动
- 获取日历
- 修改活动
- RSVP
- 搜索活动
- 创建组
- 删除组
- 获取组
- 列出组
- 创建存储桶
- 删除存储桶
- 列出存储桶
- 列出存储桶任务
- 创建计划
- 获取计划
- 列出计划
- 创建任务
- 删除任务
- 获取任务
- 列出任务
- 更新任务
- 遍历列表
- 获取列表信息
- 遍历列表项目
- 删除列表项目
- 添加列表项目
- 更新列表项目
- 获取列表项目
- 演示文稿
- Word

Productivity Activities
Options used to send an SMTP email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
Inheritance: System.Object > .SendMailOptions > SendOutlookMailOptions
Property | Type | Description |
---|---|---|
Account | string | The account used to send the message. |
Attachments | List<string> | A list of files to send as attachments. |
Bcc | List<string> | The hidden recipients of the email message. |
Body | string | The body of the email message. |
Cc | List<string> | The secondary recipients of the email message. |
ForwardedMessage | MailMessage | The message to forward. |
Importance | MailImportance | Specifies the importance of the email message. |
IsBodyHtml | bool | Specifies whether the body of the message is written in HTML format. |
IsDraft | bool | Specifies whether the message should be saved as a draft. |
ReplyTo | List<string> | The email address to use when replying. |
SenderMail | string | The email address of the sender. |
SenderName | string | The display name of the sender. |
Sensitivity | MailSensitivity | Specifies the sensitivity of the mail message. |
Subject | string | The subject of the email message. |
To | List<string> | The main recipients of the email message. |
These are the methods you can use to configure mail options.
AsDraft
SendOutlookMailOptions
class.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
AsDraft(boolean)
public SendOutlookMailOptions AsDraft(
bool isDraft
)
public SendOutlookMailOptions AsDraft(
bool isDraft
)
isDraft
Boolean- Set to
true
if you want to save the message as a draft.
Return value
SendOutlookMailOptions
SendOutlookMailOptions
, that you use
to send Outlook mail messages.
FromMailOptions
SendOutlookMailOptions
object from a SendMailOptions object.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
FromMailOptions(SendMailOptions)
public static SendOutlookMailOptions FromMailOptions(
SendMailOptions options
)
public static SendOutlookMailOptions FromMailOptions(
SendMailOptions options
)
options
SendMailOptions- The SendMailOptions object used to create the
SendOutlookMailOptions
object.
Return value
SendOutlookMailOptions
The options used to send the Outlook email message.
OnBehalfOf
SendOutlookMailOptions
class.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
OnBehalfOf(string)
public SendOutlookMailOptions OnBehalfOf(
string name
)
public SendOutlookMailOptions OnBehalfOf(
string name
)
name
String- The display name of the sender of the mail message.
Return value
SendOutlookMailOptions
SendOutlookMailOptions
, that you use
to send Outlook mail messages.
WithAccount
SendOutlookMailOptions
class.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithAccount(string)
public SendOutlookMailOptions WithAccount(
string account
)
public SendOutlookMailOptions WithAccount(
string account
)
account
String- The account used to send the message.
Return value
SendOutlookMailOptions
SendOutlookMailOptions
, that you use
to send Outlook mail messages.
WithAttachments
Set a list of files to send as attachments.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithAttachments(List<string>)
public SendOutlookMailOptions WithAttachments(
List<string> attachments
)
public SendOutlookMailOptions WithAttachments(
List<string> attachments
)
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithBcc
Set the hidden recipients of the email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithBcc(List<string>)
public SendOutlookMailOptions WithBcc(
List<string> bcc
)
public SendOutlookMailOptions WithBcc(
List<string> bcc
)
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithBody
Set the body of the email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithBody(string)
public SendOutlookMailOptions WithBody(
string body
)
public SendOutlookMailOptions WithBody(
string body
)
body String
- The body of the email message.
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithCc
Set the secondary recipients of the email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithCc(List<string>)
public SendOutlookMailOptions WithCc(
List<string> cc
)
public SendOutlookMailOptions WithCc(
List<string> cc
)
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithForwardedMessage
Set an email message to forward.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithForwardedMessage(MailMessage)
public SendOutlookMailOptions WithForwardedMessage(
MailMessage forwardedMessage
)
public SendOutlookMailOptions WithForwardedMessage(
MailMessage forwardedMessage
)
forwardedMessage MailMessage
- The email message to forward.
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithForwardedMessage
Set whether the body of the message is written in HTML format.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithHtmlBody(bool)
public SendOutlookMailOptions WithHtmlBody(
bool isBodyHtml
)
public SendOutlookMailOptions WithHtmlBody(
bool isBodyHtml
)
- isBodyHtml Boolean
- Whether the body of the message is written in HTML format.
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithImportance
SendOutlookMailOptions
class.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithImportance(MailImportance)
public SendOutlookMailOptions WithImportance(
MailImportance importance
)
public SendOutlookMailOptions WithImportance(
MailImportance importance
)
importance
MailImportance
- Specify the importance of the message. Choose one of the following
values:
Low
Normal
High
Return value
SendOutlookMailOptions
SendOutlookMailOptions
, that you use
to send Outlook mail messages.
WithReplyTo
Set the email addresses to use when replying.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithReplyTo(List<string>)
public SendOutlookMailOptions WithReplyTo(
List<string> replyTo
)
public SendOutlookMailOptions WithReplyTo(
List<string> replyTo
)
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithSensitivity
SendOutlookMailOptions
class.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithSensitivity(MailSensitivity)
public SendOutlookMailOptions WithSensitivity(
MailSensitivity sensitivity
)
public SendOutlookMailOptions WithSensitivity(
MailSensitivity sensitivity
)
sensitivity
MailSensitivity
- Specifies the sensitivity of the mail message. Choose one of the following
values:
Normal
Personal
Private
Confidential
Return value
SendOutlookMailOptions
SendOutlookMailOptions
, that you use
to send Outlook mail messages.
WithSubject
Set the subject of the email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithSubject(string)
public SendOutlookMailOptions WithSubject(
string subject
)
public SendOutlookMailOptions WithSubject(
string subject
)
subject String
- The subject of the email message.
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.
WithTo
Set the main recipients of the email message.
Namespace: UiPath.Mail.Activities.Api
Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)
WithTo(List<string>)
public SendOutlookMailOptions WithTo(
List<string> to
)
public SendOutlookMailOptions WithTo(
List<string> to
)
Return Value
SendOutlookMailOptions
- Returns an updated instance of SendOutlookMailOptions.