Wednesday, February 22, 2012

Using Customized Email template in BPEL Email Activity


In this post I am going to share an example of sending email using BPEL email activity where email body uses a customize template. We can follow blog for configuring our SOA server with Google SMTP settings. This step needs to be done at first level otherwise we can’t send email using our BPEL email activity.

In this post I am not focusing on how we are sending email using BPEL email activity, instead I am trying to show how we can use a template in email body.

Please download attached ZIP file from below location for complete project that I have used here. One small change needs to be done. After downloading that project please modify the to and cc domain value in DVM file so that BPEL process can follow suitable to address and cc address.


  1. Hi:

    I have successfully imported the code which you have provided in the download link. When i try to open the GenerateEmailContect.xsl it shows an error saying like HTMl verison canot be used. I am using SOA Suite and JDeveloper version is


  2. Hey Anindya...

    Thanks a ton for instant code... Really helped :)


    Don't worry about design time xsl errors. It will work in the run-time. But only thing is that you have to map your variable data via source view.


  3. I am unable to download the code using the given link