Send a simple email message from UConn Boomi

You may need your process in Boomi to send an email, where that’s to notify team members of an integration issue or to initiate a review of data. ITS recommends that you set up a UConn mass mail account for your project team and then use the Boomi Mass Mail Connection.

Boomi offers several Process Libraries and tutorials for learning how to use the mail connector and they cover in-line messages, attachments, formatting, etc. The How to… described below is intended to give you a simple way to get started with mail in your integration.

Change the from address in an operation to something reflective of the project team (e.g., boomi-iam@uconn.edu).

This article is intended for individuals who have a Boomi Associate Integration Developer Certification. If you do not know how to complete an action like “add a message shape”, please complete the recommended trainings

Instructions

These are the steps explaining the process shown above. The critical pieces specific to the email process are in the Set Properties and Mail Connector shapes. Any other necessary processing of the message can precede those two steps and any post processing can be implemented to meet your use case.

  1. The Start shape is defined by setting the Type to the “No Data” radio button. The Display Name in this example is set to “Lets go…”

  2. Connect the Start shape to a Message shape and create a sample message that you want to email. For this example, a message explaining it is test and adding a date/time stamp in the body is shown here:

  3. Connect the Message shape to a Set Properties shape. Add properties by clicking the green plus below the Properties to Set.

     

  4. To get the mail properties on the Choose Property Window:

Set…

Property Type: Document Property
Source Type: Connectors
Connector: Mail
Property: Body

 

Set…

Property Type: Document Property
Source Type: Connectors
Connector: Mail
Property: Body

 

To add the body, click the green plus under the Property Value Label

Pick the Current Data option in the type menu and click the OK button.

 

 

Repeat the process and add Mail - Subject, Mail - To Address and Mail - From Address properties. These can all be set to appropriate static values.

 

  1. Connect the Set Properties shape to a Connector Shape and select the Mail Connector Option

Using the Magnifying Glass in the Connection field, select the UConn Mail Connection.
Set the action to Send.

Using the Magnifying Glass in the Operation field, select the existing Send in Line* operation.

 

Using the Magnifying Glass in the Connection field, select the UConn Mail Connection.
Set the action to Send.

Using the Magnifying Glass in the Operation field, select the existing Send in Line* operation.

 

*If the Send in Line operation (or similar) does not exist you can create a new one using the green plus in the Operation field. Set

Disposition: Inline

Content Type: text/plain

 

  1. Add a Stop Shape to the Connector Shape

Time to Test!

How to Test

  1. Click Test in the upper right corner of the process pallet.

  2. Pick the Test Atom Cloud (TAC) available in your subaccount and click OK. An example shown here is the generic Test-Atom-Cloud for the mail UConn account.

  3. The process will execute in test mode, and you will see each step get a green halo as it completes successfully. You will see a success message when it is done.

  4. Check the mail account specified in the Mail - To Property to ensure the message arrived.