2020.2

Table Of Contents
Filtering is done at the mail server. Only the first unread email matching the conditions is
retrieved from the mail server, along with its attachments. Captured emails can either be
deleted or marked as read.
Note
The MS Graph REST API is limited to a certain number of requests within a certain
period of time. This is called throttling. When throttling comes into play, the plugin makes
two more attempts. It exits with an error after three unsuccessful attempts.
Output
Once the plugin is done processing, an XML file is created with the emails details and location
of the body and any attachments. The encoding of the XML file is UTF-8.
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 Workflow's Temp folder).
Retrieving and moving the body and attachment files may be done using an "XML Splitter" on
page461.
Example output file
<?xml version="1.0"?>
<Email>
<FromName>Anny One</FromName>
<FromEmail>onea@ca.objectiflune.com</FromEmail>
<Subject>Your Subscription</Subject>
<DateTime>2020-01-22T14:03:38Z</DateTime>
<To>someone@ca.yourcompany.com</To>
<CC/>
<BCC/>
<Files>
<File>
<Type>Body</Type>
<Folder>C:\ProgramData\Objectif Lune\PlanetPress Workflow
8\PlanetPress Watch\Debug\0106HBKO3IODK3F\</Folder>
<Filename>0106HBKO3IODK40.html</Filename>
</File>
<File>
<Type>Attachment</Type>
Page 340