How to Send an Email From a Process

This tutorial shows you how to configure a service task to send an email from a business process application, and then how to deploy and test that application.

You should work through each section in turn to complete the tutorial.

Data fields can be used to dynamically set parts of the email at runtime (for example, the recipient, or part of the body text of the email).

A connection to an SMTP mail server must be configured, using a BPM runtime SMTP resource instance. At runtime, when the service task is executed, the BPM runtime constructs the email from the data provided in the send task and sends the email to the SMTP mail server, which in turn sends it to the specified recipients.

Prerequisites

You should be familiar with the basics of designing, implementing and deploying process-based applications using TIBCO Business Studio. If you are not familiar with these things, you should run through the following tutorials before attempting this one:

  • How to Design a Simple WelcomeUsers Business Service
  • How to Implement and Deploy the WelcomeUsers Application

Before You Begin

You will need to know the SMTP address and port number used by your SMTP mail server to be able to test and run this tutorial.