2022.2

Table Of Contents
Processing
The task reads the incoming SMTP request and provides the data within its body.
Output
Depending on the Data Location option, the output is different:
l
Envelope: The request file in XML format, including all email fields (from, to, cc, bcc, subject,
body) as well as additional header fields (email client information, attachments, etc). The mes-
sage body and attachments are available through specific XML attributes. These files do not
have the full path, but you can use the %t%O variable to get the current temporary folder where
they are located.
Tip: Suppose we have two files named in the XML file under /ppemail[1]/@rawemail and
/ppemail[1]/body[1]/@html respectively.
With
%t%O\xmlget('/ppemail[1]/body[1]/@html',Value,KeepCase,NoTrim)
and
%t%O\xmlget('/ppemail[1]/@rawemail',Value,KeepCase,NoTrim)
we get both the body and the whole raw email.
l
Attachments: The input task loops through each attachment and sends them down through the
process. While the Envelope is not available, the Job Infos contain pretty much all of the inform-
ation you would get from it.
Task properties
General Tab
l
Data location: Determines what files are sent into the process:
l
Envelope: Only the request envelope is sent to the process (see above).
l
Attachments: Each attachment is sent down the process (see above).
l
Unzip attached file: Select to unzip the attached files.
l
Zip password: Enter the password required to unzip the attached files (if any). Note that
you can use variables and data selections.
l
Conditions: Defines a filter on capturing files from the SMTP Service's hot folder. When a con-
dition is added, only files that match this filter are captured, the rest remain untouched.
l
“Subject contains: Select to limit those messages used by this task to those with a spe-
cific subject. The subject you enter in the box below can include variables and wildcards.
Page 345