Getemail
此帮助页面适用于 Desktop Studio。 此信息也适用于 Studio。
|
|
从文件服务器检索入站电子邮件内容,并将其存储为结构化变量。 结构化变量可以在任何可引用常规变量的位置被引用。 Getemail 操作可用于为包含电子邮件片段的变量命名。 例如,如果将 BodyTextVar 变量命名为“正文”,则可以在任何支持花括号的位置使用 {body} 变量。 这对生成自动响应特别有用。 |
依赖关系
在电子邮件主题行中使用管道分隔符 ( | ) 会将主题分割(成数组),因此您需要将主题行重新拼接起来。
支持的脚本类型
|
|
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
| 标题 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| ContainerVar | The name of the structured variable that contains all other variables. EML is the default name. |
| SubjectVar | The name of the variable that holds the subject of the message. |
| FromVar | |
| ToVar | |
| CCVar |
The name of the variable that contains the list of CC list of recipients on the |
| DateVar |
The name of the variable that contains the date of the |
| BodyTextVar |
The name of the variable that contains the body text of the |
| AttachmentListVar | The name of the variable that contains the list of file attachments. |
| MaxBodyTextLength | A picklist of the maximum length of the BodyTextVar string. By default, it is 2,000, but may be increased to 32,000. |
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
|
默认 |
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. |
|
OnError |
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. |
提示和技巧
从技术角度而言,Getemail 操作会创建一个可以在代码片段操作中调用的 C# 类。