Skip to main content Skip to complementary content

Extracting data from email files


  1. Double-click the tFileList component to open its Basic settings view.
  2. 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.
  3. Click the [+] button under the Files table to add a filemask "*.mail".
  4. Double-click the tFileInputMail component to open its Basic settings view.
  5. 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.
  6. 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.
  7. In the Mail parts table, map the schema columns to the actual email parts you want to extract from the email.
  8. 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 – let us know how we can improve!