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:
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:
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:
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:
Hi,
how do you find host for gmail?
Hi anu it is very difficult to find gmail host. Bcz Gmail has Good security.
hi, how can i save a file received from a email into a file in tibco?
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?
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
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