Creating a Job for sending an email with attachment in HTML format - 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

Procedure

  1. Create a new Job and add the following components onto the design workspace:
    • a tCreateTemporaryFile component, to create a temporary file, which will be used as the attachment
    • a tRowGenerator component, to generate some random data
    • a tFileOutputDelimited component, to write the random data in the temporary file
    • a tSendMail component, to send an email with attachment in HTML format
  2. Link the tRowGenerator component to the tFileOutputDelimited component using a Row > Main connection.
  3. Link the tCreateTemporaryFile component to the tRowGenerator component using a Trigger > On Subjob Ok connection.
  4. Link the tRowGenerator component to the tSendMail component using a Trigger > On Subjob Ok connection.