XML Bursting- Mails to multiple mail ids

Mails can be sent to multiple users by separating the mail ids using comas.

Following is a sample Bursting file…

<?xml version=”1.0″ encoding=”UTF-8″ ?>

<xapi:requestset xmlns:xapi=”http://xmlns.oracle.com/oxp/xapi” type=”bursting“>

<xapi:request select=”/MPLNRGPR“>

 <xapi:delivery>

<xapi:email server=”172.20.7.8” port=”25” from=”PQR@XXX.COM” reply-to=””>

  <xapi:message id=”123” to=”ABC@XXX.com,XYZ@XX.com” attachment=”true” subject=”Busting Report“>FYI</xapi:message>

  </xapi:email>

  </xapi:delivery>

<xapi:document output=”NRGP” output-type=”pdf” delivery=”123“>

  <xapi:template type=”rtf” location=”xdo://JA.MPLNRGPR.en.00/?getSource=true” filter=”” />

  </xapi:document>

  </xapi:request>

  </xapi:requestset>

Note :If the address has to be passed dynamically from the tags then at the rdf level concatenate the mail id with a  comma (,) at the mail id with out any space.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s