Skip to main content Skip to complementary content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

Creating a Job for sending an email with attachment in HTML format

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.

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!