GETEMAIL

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

Ícone de Getemail: envelope laranja com uma seta para baixo

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

Icon of gray-green envelope

E-mail

Propriedades de entrada

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

Propriedade

Descrição

Adicionar legenda

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

Variáveis de contêiner The name of the structured variable that contains all other variables. EML is the default name.
Variável de assunto O nome da variável que contém o assunto da mensagem.
Da Variável The name of the variable that contains the From address of the email.
À variável The name of the variable that contains the To address of the email.
Variável CC The name of the variable that contains the list of CC list of recipients on the email.
Variável de data The name of the variable that contains the date of the email.
Variável de corpo DE texto The name of the variable that contains the body text of the email.
Attachment Variábel da lista The name of the variable that contains the list of file attachments.
Tamanho máximo do Corpo DE texto 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 Branch

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.

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.

Dicas e truques

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