Creating a Job for retrieving emails and extracting email data - 7.3

Mail

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Messaging components (Integration) > Mail components
Data Quality and Preparation > Third-party systems > Messaging components (Integration) > Mail components
Design and Development > Third-party systems > Messaging components (Integration) > Mail components
Last publication date
2024-02-21

In this example, we are going to design a Job to do the following:

  • Read emails from an email server and store it in a local directory
  • Read the email files from the local directory
  • Extract standard key data from the email files
  • Print the extracted data on the console window

Procedure

  1. Create a new Job and add a tPOP component, a tFileList component, a tFileInputMail component and a tLogRow component to the Job.
  2. Link the tFileList component to the tFileInputMail component using a Row > Iterate connection.
  3. Link the tFileInputMail component to the tLogRow component using a Row > Main connection.
  4. Link the tPOP component to the tFileList component using a Trigger > On Subjob Ok connection.