Skip to main content Skip to complementary content

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!