Monday 8 August 2016

How to send notification emails using SendMail activity in TIBCO


1  How to send notification emails using SendMail activity in TIBCO:

1.1  Scenario1(With Border/Outer part):

We are getting xml response from database/SAP system, according to some filtrations we have to send notification email in table format.

1.1.1.        Steps for Resolution:

 

In case we need to send notification mail, then we need to follow the below process.

 

Step 1: Generate xml string using Instance Activity (optional, I used instance to create xml).


Our final implementation will look like this.


 

Step 2: Using Mapper activity we have to configure table structure what exactly we want to send as notification mail.

 


Step 3: Send activity configuration

                           NOTE: Register for a free SMTP Account on smtpcorp.com

                      To send emails from our Tibco process, we need to have SMTP host name, IP address, Username and Password. Using Gmail SMTP for sending email from Tibco profess involves many complexities including STARTTLS errors. So, I decided to use free SMTP service of smtpcorp.com.

 

1.1.2          Test Results (With Border/Outer part)


 

Send’s notification mail as below format

 

 

 

1.2      Scenario2 (Without Border):

We are getting xml response from database/SAP system, according to some filtrations we have to send notification email in table format.

1.2.1          Steps for Resolution:

 

In case we need to send notification mail, then we need to follow the below process.

 

Step 1: Create schema according to database response and parse the same using parsing XML activity.

 


 

Our final implementation will look like this.

 


 

Step 2: Using Mapper activity we have to configure table structure what exactly we want to send as notification mail.

 


 

Step 3: Send activity configuration

                           NOTE: Register for a free SMTP Account on smtpcorp.com

                      To send emails from our Tibco process, we need to have SMTP host name, IP address, Username and Password. Using Gmail SMTP for sending email from Tibco profess involves many complexities including STARTTLS errors. So, I decided to use free SMTP service of smtpcorp.com.

 

1.2.2          Test Results (Without Border)


 

Send’s notification mail as below format

No comments:

Post a Comment