Double-click the tFileList component to
open its Basic settings view.
In the Directory field, specify the directory where the
files are to be read. This should be the same directory where the
tPOP component is writing the email files.
Click the [+] button under the
Files table to add a filemask
"*.mail".
Double-click the tFileInputMail component to open its
Basic settings view.
In the File Name field, specify the name of the email
file from which data will be extracted. In the example, we want to process all
email files retrieved and use the global variable
((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
which is coming from the tFileList component as an
iterator variable.
Edit the schema and specify the columns for the data part we want to extract.
In this example, we are going to extract Date,
Author, Objet and
Status.
In the Mail parts table, map the schema columns to the
actual email parts you want to extract from the email.
In the Attachment export directory field, specify the
directory where you want to save the attachments.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!