Getemail

Deze Help-pagina is bedoeld voor Desktop Studio. Deze informatie is ook beschikbaar voor Studio.

Pictogram van Getemail: open envelop met een brief

Haalt de inhoud van een inbound e-mail op bij de bestandsserver en slaat deze op als een gestructureerde variabele. Naar de gestructureerde variabele kan worden verwezen overal waar naar reguliere variabelen kan worden verwezen.

De actie Getemail biedt u de mogelijkheid om de variabelen te benoemen die de onderdelen van de e-mail bevatten. Als u bijvoorbeeld de BodyTextVar-variabele „inhoud” noemt, kunt u de {body}-variabele overal gebruiken waar accolades worden ondersteund. Dit is vooral handig bij het genereren van automatische reacties.

Afhankelijkheden

Wanneer in een onderwerpregel het pipe-symbool (|) als scheidingsteken wordt gebruikt, wordt het onderwerp opgesplitst (in een relais), waardoor u de onderwerpregel weer moet samenvoegen.

Ondersteunde script Typen

Het pictogram voor het scripttype E-mail - een groot @-teken in een ruit.

E-mail

Invoer Eigenschappen

Deze eigenschappen definiëren gegevens die de actie gebruikt bij het uitvoeren.

Variabele

Beschrijving

Bijschrift

Voer een korte woordgroep in die deze actie in het script uniek identificeert. Het bijschrift verschijnt op het scriptcanvas onder het actiepictogram. De standaardwaarde is de actienaam.

ContainerVar The name of the structured variable that contains all other variables. EML is the default name.
OnderwerpVar De naam van de variabele die het onderwerp van het bericht bevat.
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.

Resultaatvertakkingsvoorwaarden

Met Resultaatvertakkingsvoorwaarden kunt u vertakkingen maken in uw script om verschillende uitkomsten te verwerken wanneer een actie wordt uitgevoerd.

Voorwaarde

Beschrijving

Standaard

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.

Tips en trucs

Technisch gezien creëert de actie Getemail een C#-klasse die kan worden aangeroepen binnen een Fragment-actie.