Sending an Email Message from a Process

You can send email messages from a process by configuring the service task. These messages could be internal notifications giving information about the progress of the process, or external messages such as automatic order confirmations sent to customers.

To set up your server to deliver email you need to do the following:

  • An SMTP resource instance must exist in the BPM runtime before you can deploy an application that uses a service task to send an email. This resource instance defines the connection information used by BPM to contact the SMTP mail server.

    To define a resource instance, you must use TIBCO Administrator to:

    • create a resource template. A resource template specifies configuration properties for resource instances.
    • create a resource instance based on the resource template. A resource instance represents a resource shared between applications.
    • install the resource instance on a host. The resource instance is then available to applications running on that node.
  • There are several different types of resource instance. An SMTP resource instance must be used to provide a connection to an SMTP mail server.
  • You use TIBCO Administrator to define an SMTP resource instance.
  • You will bind to the resource instance when you deploy the process.

See the How to Send an Email from a Process tutorial for more information.