TIBCO Receive Mail Tutorial: How to Receive Email Messages in TIBCO BW

By | April 13, 2014

In one of my previous tutorials, I explained step by step, how you can send emails from TIBCO BW Processes using Send Mail activity. In this step by step tutorial, I will teach you how to receive emails in TIBCO using Receive Mail activity.

Step 1: Configure Receive Mail Activity in TIBCO Designer Process

For this tutorial, we are going to create a TIBCO BW process in designer that will use Receive Mail activity as process starter and will poll for incoming emails from a POP mail server at an interval of 2 seconds.

Add Receive Mail activity from Mail Palette in your process. In the configuration tab of Receive Mail activity, specify Host, Username, Password and Polling interval. In my case, I have used a free email service to simulate the scenario. Configuration will look like below:

TIBCO Receive Mail Configuration

One configurations are made, you need to make sure that connectivity with the mail server is correctly being done. For this, click on Test Connection button in the bottom. If you have given all configuration parameters correctly, you should see a connection successful message as shown below:

tibco receive mail test connection

That’s it for the configuration of our Receive Mail activity. Now we are going to test the process to see how it receives emails sent to the specified email address.


Step 2: Test Receive Mail in TIBCO

Load the process that was created in Step 1 in the designer tester. You will see that process will get loaded in the tester but no job will run for this.

Now we go to our mails and send an email to the address that was specified in the configuration tab in Step 1. As you can see below, after receiving email, a new Job has run for the process:

tibco receive mail poll


You can see in below screenshot that email data has been successfully received by Receive Mail activity with all information including Sender, Receiver, email body etc in the Output tab:

receive mail output tab data


Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with more than 7 years experience in TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Spotfire, TIBCO BE, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in Telecom sector by using his skills in Tibco Designer, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc.
Ajmal Abbasi is also experienced in developing solutions using Oracle PL/Sql, Linux and Java.
You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn

6 thoughts on “TIBCO Receive Mail Tutorial: How to Receive Email Messages in TIBCO BW

    1. teja

      Hi anu it is very difficult to find gmail host. Bcz Gmail has Good security.

  1. César Cabrera

    hi, how can i save a file received from a email into a file in tibco?

  2. Apoorva

    I want to use domino VIP behind which two domino mail servers are present in FT mode. How can I use it to receive mails in tibco bw?

  3. Venkat

    HI Ajmal,
    appreciate your help.
    I can receive mails using Mail Receiver successfully.
    Now whenever the mail server restarts, the connection to mail server from receiver is getting lost and hence no more receiving mails in Mail Reciever.


  4. Pratap

    How to receive email in HTML(table) format, here are the steps I did as part of this ..
    Content-type “text/html”
    body with HTML format, able to view the expected output in HTML page…

    when using same in body , I am receiving source code as is with out having in tabular format.. can any one suggest
    Thank you


Leave a Reply

Your email address will not be published. Required fields are marked *