Sending emails

You can configure IBM® App Connect Enterprise to send an email, with or without attachments, to a static or dynamic list of recipients.

About this task

You can configure the EmailOutput node to send an email, with or without a single attachment, with a static subject and static text, to a static list of recipients. You can also construct a message flow that can produce an email where the SMTP server, list of recipients, subject, text, and multiple attachments are all determined at run time.

You can use the SMTP Server and Port property of the EmailOutput node to specify the host name of the SMTP server that the integration server uses to send emails, or to specify an alias that refers to an SMTP policy that is defined on the integration server. If the value of the SMTP Server and Port property is set to the defined alias, any values that are set in the policy are used in preference to any statically defined value or override value in the local environment.

The order of preference for SMTP value selection is:
  1. The value that is specified in the policy if an alias exists with the name that was supplied in the SMTP Server and Port property.
  2. The server name that is specified in the local environment.
  3. The value of the SMTP Server and Port property that is specified on the node.

The topics in this section describe the different ways in which you can use the EmailOutput node to send email messages.

Procedure