Getemail

Esta página de ajuda é para Desktop Studio. Estas informações também estão disponíveis para Studio.

\n Ícone de Getemail: envelope aberto com uma carta\n

A Recupera o conteúdo de email de entrada do servidor de arquivos e o armazena como uma variável estruturada A variável estruturada pode ser referenciada em qualquer lugar em que variáveis regulares possam ser referenciadas.

A ação Getemail permite que você nomeie as variáveis que contêm as partes do e-mail. Por exemplo, se você nomear a variável BodyTextVar como "corpo", você poderá usar a variável {body} em qualquer lugar em que chaves sejam suportadas. Isso é especialmente útil na geração de respostas automáticas.

Dependências

Usar um delimitador de barra vertical ( | ) no assunto do e-mail fará com que o assunto seja dividido (em uma matriz), obrigando você a remontar o assunto do e-mail.

Tipos de script suportados

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

E-mail

Propriedades de entrada

Estas propriedades definem dados que a ação usa durante a execução.

Propriedade

Descrição

<1>legenda<2>

Insira uma frase curta que identifique exclusivamente esta ação no script. A legenda aparece na tela do script no ícone da ação. O padrão é o nome da ação.

ContainerVar The name of the structured variable that contains all other variables. EML is the default name.
SubjectVar O nome da variável que contém o assunto da mensagem.
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.

Condições do resultado da Ramificação

As condições de ramificação de resultado permitem que você crie ramificações no seu script para tratar diferentes resultados quando uma ação é executada.

Condição

Descrição

Padrão

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.

Dicas e truques

Tecnicamente, a ação Getemail cria uma classe C# que pode ser chamada dentro de uma ação Snippet.