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

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 TIBCO Receive Mail 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 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

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.

      Reply
  1. César Cabrera

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

    Reply
  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?

    Reply
  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.

    Thanks

    Reply
  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

    Reply

Leave a Reply to Pratap Cancel reply

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