UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

生产力活动

回复电子邮件

UiPath.Mail.Activities.Business.ReplyToMailX

描述

重要提示:

新版 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 drop-down menu, select the email to reply to. 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 recipients to add to the To field of the reply 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 secondary recipients to add to the Cc field of the reply email:

    • 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以在 Excel 中选择其中的电子邮件地址用分号 (;) 分隔的单元格来添加多个收件人,或者在执行项目时使用 Outlook 中所选电子邮件的“抄送”字段中的电子邮件地址。
    • 使用保存的值 - 以电子邮件地址列表的形式使用您之前保存,以供以后在项目中使用的数据。
    • Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
    • 运行时询问 - 执行项目时提示输入收件人。
    • 从剪贴板粘贴 - 将您以前复制的电子邮件地址粘贴到项目中的剪贴板中。
    • Open in Advanced Editor - Enter a VB expression.
  • Add Bcc recipients - Select Plus on the right side of the field, and then use one of the options in the menu to select hidden recipients to add to the Bcc field of the reply 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 replies is used. Select Plus on the right side of the field, and then use one of the options in the menu to add a new subject for the reply 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:

      • 项目笔记本、父级 Excel 文件或电子邮件帐户中的数据。例如,您可以在 Excel 文件中选择包含路径的单元格。
      • 使用保存的值 - 以文件路径的形式选择您之前保存,以供以后在项目中使用的数据。
      • 文本 - 在文本生成器中输入路径。
      • 运行时询问 - 执行项目时提示输入路径。
      • Open in Advanced Editor - Enter a VB expression.
        备注:
        • “使用 Word 文档”选项只能与 Outlook 桌面应用程序一起使用。
        • 如果您选择的 Word 文档包含图片,则某些图片可能不会显示在所发送电子邮件的正文中。 如果电子邮件正文中未能显示图片,请从以下解决方法中择一尝试:
        • 打开 Word 文档,删除图片,然后再次添加图片。
        • 将 Word 文档的扩展名更改为.zip ,解压缩档案,打开文件夹word中的文件document.xml ,搜索属性r:link ,然后将其删除(例如r:link="rId11" )。保存文件,然后再次压缩提取的文件,并将扩展名更改回.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 docs image 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。
  • 保存为草稿 - 请在活动主体中查看“保存为草稿”。
收件人
  • 添加密送收件人- 请参阅活动正文中的添加密送收件人
  • 添加抄送收件人- 请参阅活动正文中的添加抄送收件人
  • 添加目标收件人- 请参阅活动正文中的添加目标收件人
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新