2022.2

Table Of Contents
Note: With PlanetPress Workflow version 2020.1, using the Download EML Messages task
requires the version 2020.1 "Mailjet" on page588 and "SendGrid" on page591 plugins . They are
available for download on the Resource Center (help.objectiflune.com).
Tip: Double-click an .eml to open it in your email client.
Input
This task must receive either Metadata or JSON Job Data containing information regarding a pre-
rendered email message that has been saved in EML format in the File Store.
Storing EML messages in the File Store is an option in "Render Email Content" on page535 task. That
task outputs information about the email messages that it pre-rendered either in the current Metadata
or in the form of a JSON structure.
The Download EML Messages task expects UTF-8 encoded JSON job data files.
Note: Make sure that other components in the Workflow configuration working on the job data
handle UTF-8 encoded files correctly.
Processing
The plugin communicates with the Connect Server to retrieve the EML file that was stored in the Con-
nect File Store by the "Render Email Content" on page535.
Output
The task outputs the EML file as the Job File. The Metadata are unchanged.
Properties
General Tab
l
Data Source (see "Input" above):
l
Metadata: Metadata containing information about an email message. The "Render Email
Content" on page535 task can output information about the email message(s) that it pre-
rendered in the current Metadata. Use the "Metadata Sequencer" on page478 plugin to
loop over the items in the Metadata and feed them to the Download EML Messages plugin.
l
JSON: A JSON object representing an email message. For an example of such an object,
see the "Render Email Content" on page535 task. That task can output a JSON object (or
an array of JSON objects) containing information about email messages.
Page 523