Getemail

Esta página de ayuda corresponde a Desktop Studio. Esta información también está disponible para Studio.

Ícono de Getemail: sobre abierto con una carta

Recupera el contenido de correo electrónico desde el servidor de archivos y lo almacena como una variable estructurada. La variable estructurada se puede hacer referencia desde cualquier lugar en el que se puedan referenciar las variables regulares.

La acción Getemail le permite nombrar las variables que contienen las partes del correo electrónico. Por ejemplo, si asigna el nombre "body" a la BodyTextVar variable, puede usar la {body} variable en cualquier lugar donde se admitan llaves. Esto es especialmente útil para generar respuestas automáticas.

Dependencias

El uso de un delimitador de barra vertical ( | ) en el asunto del correo electrónico hará que el asunto se divida (en una matriz), lo que lo obligará a reconstruir el asunto.

Tipos de script compatibles

The icon for the Email script type - a large @ symbol in a diamond.

Correo electrónico

Propiedades de entrada

Estas propiedades definen los datos que utiliza la acción al ejecutarse.

Propiedad

Descripción

Leyenda

Introduzca una frase corta que identifique de forma única esta acción en el script. La leyenda aparece en el lienzo del script debajo del ícono de acción. El valor predeterminado es el nombre de acción.

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 The name of the variable that contains the From address of the email.
ToVar The name of the variable that contains the To address of the email.
CCVar The name of the variable that contains the list of CC list of recipients on the email.
DateVar The name of the variable that contains the date of the email.
BodyTextVar The name of the variable that contains the body text of the email.
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.

Condiciones de Rama de resultado

Las condiciones de las ramas de resultado le permiten crear ramas en su script para manejar diferentes resultados cuando se ejecuta una acción.

Condición

Descripción

Por defecto

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.

Sugerencias y trucos

Técnicamente, la acción Getemail crea una clase de C# que se puede invocar dentro de una acción Snippet.