- 概述
- Apple Mail
- AppleNumbers
- Apple 脚本编写
- 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
- 搜索活动
- 创建组
- 删除组
- 获取组
- 列出组
- 创建存储桶
- 删除存储桶
- 列出存储桶
- 列出存储桶任务
- 创建计划
- 获取计划
- 列出计划
- 创建任务
- 删除任务
- 获取任务
- 列出任务
- 更新任务
- 遍历列表
- 获取列表信息
- 遍历列表项目
- 删除列表项目
- 添加列表项目
- 更新列表项目
- 获取列表项目
- 身份验证故障排除
- AADSTS50011:重定向 URI 不匹配
- AADTS50076:使用多重身份验证
- AADSTS50079:用户需要使用多重身份验证
- AADSTS500113:没有为应用程序注册回复地址
- AADSTS900971:未提供回复地址
- AADSTS65001:用户或管理员未同意使用该应用程序
- AADSTS65004:用户拒绝同意访问该应用程序
- AADSTS7000218:请求正文必须包含以下参数:client_assertion 或 client_secret
- AADSTS700025:客户端是公开的,因此不应提供“client_assertion”和“client_secret”
- AADSTS70002:InvalidClient - 验证凭据时出错
- AADSTS7000215:提供的客户端密码无效
- AADSTS50055:密码已过期
- AADSTS700082:由于不活动,刷新令牌已过期
- AADSTS50194:应用程序未配置为多租户应用程序
- AADSTS53003:条件访问策略已阻止访问
- 邮件故障排除
- 日历故障排除
- 文件故障排除
- 表格故障排除
- 演示文稿
- Word
生产力活动
UiPath.Mail.Activities.Business.ForwardMailX
描述
新版 Outlook 应用程序会影响此活动。有关更多详细信息,请查看新的 Outlook 对 UiPath Outlook 桌面活动的影响。
转发指定的电子邮件或邀请。应该用于当前在 Outlook 桌面应用程序中选择的电子邮件或邀请,或者在遍历 Gmail 或 Outlook 电子邮件时用于遍历电子邮件活动中。此活动必须添加到“使用 Outlook 365” 、 “使用 Gmail”或“使用桌面 Outlook 应用程序”活动中。
使用“使用桌面 Outlook 应用程序”活动时,HTML 电子邮件的外观可能与预期不同。建议对正文使用 Word 文档。
配置活动
设计器面板
-
Email - Select Plus on the right side of the field and then, from the menu, select the email to forward. When the activity is inside a For Each Email activity, select CurrentMail to indicate the current mail in the iteration. When automating the Outlook desktop app, you can also select Selected Mail to use the message that is selected in Outlook when the project is executed. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
-
Add To recipients - Select Plus on the right side of the field, and then use one of the options in the menu to select where to forward the email:
- 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以在 Excel 文件中选择其中的电子邮件地址用分号 (;) 分隔的单元格来添加多个收件人,或者在自动化 Outlook 桌面应用程序时,使用执行项目时在 Outlook 中所选电子邮件的“收件人”字段中的电子邮件地址。
- 使用保存的值 - 以电子邮件地址列表的形式使用您之前保存,以供以后在项目中使用的数据。
- Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
- 运行时询问 - 执行项目时提示输入收件人。
- 从剪贴板粘贴 - 将您以前复制的电子邮件地址粘贴到项目中的剪贴板中。
- Open in Advanced Editor - Enter a VB expression.
-
Add Cc recipients - Select Plus on the right side of the field, and then use one of the options in the menu to select the secondary recipients of the email:
- 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以在 Excel 中选择其中的电子邮件地址用分号 (;) 分隔的单元格来添加多个收件人,或者在自动化 Outlook 桌面应用程序时,选择在执行项目时在 Outlook 中所选电子邮件的“抄送”字段中的电子邮件地址。
- 使用保存的值 - 以电子邮件地址列表的形式使用您之前保存,以供以后在项目中使用的数据。
- Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
- 运行时询问 - 执行项目时提示输入收件人。
- 从剪贴板粘贴 - 将您以前复制的电子邮件地址粘贴到项目中的剪贴板中。
- Open in Advanced Editor - Enter a VB expression.
-
New subject - Optionally, you can add a new subject for the email. If a new subject is not provided, the default Outlook subject for forwarded emails is used. Select Plus on the right side of the field and then use one of the options in the menu to add a subject for the email:
- 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以选择 Excel 文件中的单元格,或者,在自动化 Outlook 桌面应用程序时,您可以在执行项目时使用在 Outlook 中选择的电子邮件主题。
- Use Saved Value - Use data that you previously saved for later use in the project.
- Text - Enter a subject in the Text Builder.
- 运行时询问 - 执行项目时提示输入主题。
- 从剪贴板粘贴 - 将您以前复制的值粘贴到项目中的剪贴板中。
- Open in Advanced Editor - Enter a VB expression.
-
正文 - 您可以使用 HTML 添加纯文本正文,也可以选择 Word 文档以在电子邮件正文中添加文件。
-
If you select HTML, select Open Editor to start drafting your email using the WYSIWYG HTML editor.
-
If you select Text, select Plus on the right side of the field, and then select one of the options from the menu to add the text for the body of the email:
- 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。
- Use Saved Value - Use data that you previously saved for later use in the project.
- Text - Enter the body text in the Text Builder.
- 运行时询问 - 执行项目时提示输入正文文本。
- 从剪贴板粘贴 - 将您以前复制的值粘贴到项目中的剪贴板中。
- Open in Advanced Editor - Enter a VB expression.
-
如果选择“使用 Word 文档”,请指定要添加到正文中的包含表格、图像、正文格式的 Word 文档。电子邮件正文的格式为 HTML。
Select Browse next to the field, and then browse to a Word file and select it. Alternatively, you can indicate the path to a Word file by selecting an option from the Plus menu on the right side of the field: * Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file that contains a path. * Use Saved Value - Use data in the form of a file path that you previously saved for later use in the project. * Text - Enter a path in the Text Builder. * Ask when run - Prompt for the path when the project is executed. * Paste from clipboard - Paste a value that you previously copied to the clipboard in the project. * Open in Advanced Editor - Enter a VB expression.
:::note * The option **Use Word Document** can only be used with the Outlook desktop app. * If the Word document you select contains pictures, some of the pictures may not appear in the body of the email that is sent. If a picture fails to appear in the email body, try one of the following workarounds: + Open the Word document, remove the picture, and then add the picture again. + Change the extension of the Word document to `.zip`, extract the archive, open the file **document.xml** located in the folder **word**, search for the attribute **r:link**, and remove it (for example, `r:link="rId11"`). Save the file, then zip the extracted files again and change the extension back to .`docx`. ::::::note * The option **Use Word Document** can only be used with the Outlook desktop app. * If the Word document you select contains pictures, some of the pictures may not appear in the body of the email that is sent. If a picture fails to appear in the email body, try one of the following workarounds: + Open the Word document, remove the picture, and then add the picture again. + Change the extension of the Word document to `.zip`, extract the archive, open the file **document.xml** located in the folder **word**, search for the attribute **r:link**, and remove it (for example, `r:link="rId11"`). Save the file, then zip the extracted files again and change the extension back to .`docx`. :::- 另存为草稿 - 如果选中,则电子邮件将保存在“草稿”文件夹中,而不是直接发送给选定的收件人。这样一来,您可以在发送前检查电子邮件。默认情况下,此选项处于选中状态。
-
-
Attachments - Select Files to attach individual files or Folder to attach all the files in a folder. To select the file or folder, select Browse
next to the field, and then browse to the file or folder and select it. Alternatively, you can indicate a file or folder path by selecting an option from the Plus menu on the right side of the field:- 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以在 Excel 文件中选择包含路径的单元格。
- Use Saved Value - Use data in the form of a path that you previously saved for later use in the project.
- 文本 - 在文本生成器中输入路径。您可以将文本与 Excel 文件单元格中的公式结合使用,例如,使用“项目笔记本”中的公式为文件名添加日期。
- 运行时询问 - 执行项目时提示输入路径。
- 从剪贴板粘贴 - 将您以前复制的路径形式的值粘贴到项目中的剪贴板中。
- Open in Advanced Editor - Enter a VB expression.
属性面板
常见
- DisplayName - The name displayed for the activity in the Designer panel.
电子邮件
- “正文”- 如果选择“文本”作为正文类型,则为电子邮件的纯文本正文。
- “正文文档路径”- 要用作电子邮件正文的 Word 文档路径(如果选择“Word 文档”作为正文类型)。
- 新主题 - 在活动主体中查看“新主题”。
输入
- 电子邮件 - 在活动正文中查看电子邮件。
其他
- 私有 - 选中后将不再以“Verbose”级别记录变量和参数的值。
选项
- 主体类型- 在活动主体中查看主体。
- “来自文件的 HTML 正文”- 指定使用 HTML 编辑器创建的电子邮件的 HTML 正文。
- “HTML 模板”- 存储 HTML 模板的文档。如果文档空白,则系统会在您使用编辑器时自动新建模板。
- “来自文本的 HTML 正文”- 指定从其他来源加载并保存为文本的电子邮件的 HTML 正文。
- 最大正文文档大小 - 可用作电子邮件正文的 Word 文档的最大大小 (MB)。默认值为 2MB。
- 保存为草稿 - 请在活动主体中查看“保存为草稿”。
收件人
- 添加密送收件人 - 添加电子邮件的隐藏收件人,方法与添加收件人和抄送收件人的方式类似。
- 添加抄送收件人- 请参阅活动正文中的添加抄送收件人。
- 添加目标收件人- 请参阅活动正文中的添加目标收件人。
发件人
- 代表发送人 - 有权访问邮箱的其他用户,代表其发送邮件。指定用户的方式与指定“收件人”或“抄送”收件人的方式类似。