Sendemail

此帮助页面适用于 Desktop Studio。 此信息也适用于 Studio。

SendEmail 图标:带速度线的信封

获取结构化变量的所有部分,然后构建并发送电子邮件。

依赖关系

  • Sendemail 是发送使用 Createemail 操作创建的电子邮件的最后一步。
  • 如果未创建某一部分,例如未包含 Addfromaddr 操作,则发送的电子邮件中将不会包含 From 地址。

支持的脚本类型

电子邮件脚本类型的图标——菱形中的一个大 @ 符号。

Email

输入属性

这些属性定义操作在执行时使用的数据。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 默认值为操作名称。

ContainerVar

包含所有其他变量的结构化变量的名称。 默认为 EML。

持续

确定系统是否创建包含已发送电子邮件内容的文件并将其保存在变量中。 该文件是 MIME 格式的原始文件,类似于使用 Logemail 操作保存的原始电子邮件。 它已保存在FilenameVar指定的变量中。 设置为 True 以启用该操作保存文件。

FilenameVar

原始电子邮件文件的变量的名称。 默认为 EMLFILE。

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

默认

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

Error

Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.