Create an SMTP Output

To create an SMTP Output, you must first create an SMTP Connection

Create an Output for SMTP in Hero Platform_

  1. Open Hero Platform_.
  2. Open Integration from the navigation menu and select Outputs.

  3. Click Create New Output.

  4. Give the Output a name and select an SMTP Connection.
  5. Configure the SMTP Output data.

    • Select a mode:
      • NEW - A new email being sent by the SMTP Output.
      • REDIRECT - Redirect existing emails preserving the original data rather than generating a new email. 
        • To use the redirect mode, the emails must be provided in the EML format (binary) as well as a field for receivers (list).
      • REPLY - The Output automatically sets the recipients value based on the "replyAll" field.
    • Enter a subject name.
    • Enter a template for the email.
    • From the field mapping table:
      • Confirm or change field names.
      • Confirm or change field data types.
      • Remove or confirm the arrangement of fields. (Fields "From" and "Receiver_To" cannot be removed.)
      • Add additional field names and their data types. (Optional)
    • Click OK to save the Output.



  6. Click OK to save the Output.

Attachments

Attachments can added to an SMTP Output. The default SMTP Output field mapping table displays fields for attachments and the attachments' file names.

The attachment fields can not be added manually. If deleted by mistake, refresh the mapping fields and "Attachments" and/or "Attachment names" are once again available. 

When adding attachments (E.g., PDF files), the attachment field must be a LIST data typeTo create a LIST from binary data, the List function is available. The outcome is "Attachments(LIST{BINARY_DATA})".

The field "Attachment names" is a requirement for SMTP Output attachments. This field gives the attached file(s) a name.

Rejected Sent Email

The SMTP Output in a Flow sends email from the email service configured in your SMTP Connection. To avoid rejected e-mail being sent, check your email provider’s documentation for the limit of the maximum allowed parallel connections and the maximum allowed e-mail sent per hour.