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 http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-with-google-mail 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 http://www.box.com/s/sx35479gbtvs386qhhqk 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.

4 comments:

  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 11.1.1.4 and JDeveloper version is 11.1.1.4.

    Regards,
    Bhaskar

    ReplyDelete
  2. Hey Anindya...

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

    @Bhasker,

    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.

    Thanks,
    Sudheer

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

    ReplyDelete