2022.2

Table Of Contents
Note: When using the POP3 method, the plug-in will run very slowly if the inbox contains a large
number of emails. Always use IMAP when possible.
Emails retrieved using POP3 are deleted from the server; emails retrieved using IMAP can either be
deleted or marked as read.
Output
Once the plugin is done processing, an XML file is created with the email’s details and location of the
body and any attachments. The encoding of the XML file is Windows-1252.
The body and attachments are located in the job's Temp folder of Workflow. Within the same process,
those files must be moved to another location, otherwise they will be deleted at the end of the process
(as expected for all files in the Temp Workflow folder).
Retrieving and moving the body and attachment files may be done using an "XML Splitter" on
page415.
Example output file
<?xml version="1.0" encoding="windows-1252"?>
<Email>
<FromName>Peter Parker</FromName>
<FromEmail>parkerp@ca.objectiflune.com</FromEmail>
<Subject>Bill of Lading</Subject>
<DateTime>2018-03-29 15:52:54</DateTime>
<To>starkt@ca.objectiflune.com</To>
<CC></CC>
<BCC></BCC>
<Files>
<File>
<Type>Body</Type>
<Folder>C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\
Debug\0103W5GQXZR2F0A\</Folder>
<Filename>Body.html</Filename>
</File>
<File>
<Type>Attachment</Type>
<Folder>C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\
Debug\0103W5GQXZR2F0A\</Folder>
<Filename>Priorities.xlsx</Filename>
</File>
<File>
<Type>Attachment</Type>
<Folder>C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\
Debug\0103W5GQXZR2F0A\</Folder>
<Filename>Bill of Lading (BOL).pdf</Filename>
</File>
</Files>
</Email>
The most pertinent information is located at the top level, under <Email>.
The sub node <Files> contains all the files for the email.
For each file, the type (body or attachment), folder and filename is provided. A file of type Body is
always present and contains the body of the email.
The <Folder> information is the same for all files and is repeated to facilitate the selection when using
an "XML Splitter" on page415.
Page 336