Sending an email

You can send an email with a static subject and static text to a static list of recipients.

About this task

Use the IBM® App Connect Enterprise Toolkit to configure the properties on the EmailOutput node so that you can send an email with a statically defined subject and text, and no attachments, to a statically defined list of recipients. The same email is sent to the same recipients. This method is useful when you want to test the EmailOutput node, or when notification alone is sufficient.

Procedure

  1. Switch to the Integration Development perspective.
  2. Add an EmailOutput node to your message flow.
  3. Edit the following properties of the EmailOutput node.
    1. On the Basic tab, add the SMTP Server and Port information (for example, smtp.server.com:25).
    2. On the Email tab, add the email addresses of recipients by using the To Addresses, Cc Addresses, and Bcc Addresses properties.
    3. On the Email tab, add the email address of the sender by using the From Address and Reply-To Address properties.
    4. On the Email tab, provide a subject for the email by using the Subject of email property.
    5. On the Email tab, provide the text of the email by using Email message text property.
  4. Save the changes.
  5. Add the message flow to the BAR file and deploy.

Results

When a message is passed into the deployed EmailOutput node, an email is sent to the defined set of recipients, containing the subject and text specified on the node.