Use the Send as Email destination to send processed files as email attachments to one or more recipients. You can configure the SMTP host, recipients, subject, and message content, and optionally send each file in a separate email, rename attachments before delivery, or filter which files are included.

SMTP Host

Search for an SMTP Host or select an SMTP Host from the list. The list can be sorted by SMTP Host name or description. To add a new SMTP Host, click Add New SMTP Host. For more information about adding a new endpoint, see SMTP endpoint.

Recipients

Enter one or more email addresses, separated by commas. You can use macros to dynamically determine recipient addresses at runtime. For example, [Params:AlertEmail] uses the value of the AlertEmail parameter as the recipient address when the task runs.

Subject

Enter a subject line for the notification email. You can use macros to insert dynamic task information. For example, Notification from [TaskName] - Status: [TaskStatus]

Message body

Enter the content of the notification email. You can use either plain text or HTML formatting. Plain Text is selected by default.
  • If you use Plain Text formatting, enter your message as regular text. No formatting or HTML tags are applied.
  • If you select HTML as the message format, you must construct your email using HTML tags directly in the message body.
    • Supported HTML elements

      Basic HTML elements are supported, including text formatting, links, images, tables, and lists. Supported tags include: <h1>, <b>, <strong>, <i>, <em>, <span>, <ul>, <a href="">, <img src=""alt="">, <table>

    • Restrictions
      Some HTML tags are considered a risk and are not permitted.
      • <!DOCTYPE> declarations are not allowed.
      • <meta> tags are not supported.
      • No styles are allowed, including inline styles (e.g., style="...").

Send each file separately: Sends each file in a separate email instead of attaching all files to a single message.

Add an alternate SMTP host: Select an alternate SMTP host to use if the primary SMTP host is unavailable.

Rename files: The Rename Files option allows users to rename files during transfer operations dynamically using macros. This is useful for organizing files, appending timestamps, or customizing filenames for archival or alerting purposes. An example pattern is:
[OnlyName]_[yyyy].[MM].[dd]_[HH].[mm].[ss].[OnlyExt]
This pattern renames the file using its base name, current date and time, and original extension.
Filter only specific files: This option allows users to filter which files are downloaded based on file filters and match types. File filters are applied first to narrow down the list of candidate files. After filtering, the match type is applied using AND logic. This means that a file must match the filter and satisfy the defined conditions to be selected for download. For more detailed information, see file wildcards and globs.
  • File Filters: Users can list custom filters, such as file name, extension, and size, to limit the files that are downloaded.
  • Match Type: Users can define rules for filtering files based on specific attributes. These rules are evaluated using logical conditions, and at least one condition must be added for the filter to be active.
    • Match All: Uses AND logic. All conditions must be true for the file to be selected.
    • Match Any: Uses OR logic. A file is selected if any one of the conditions is true.