How to send the e-mail notification in XML Pub Report?
Ans : You Need to use XML -Bursting
Example :
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/">
<xapi:delivery>
<xapi:email id="${CF_CONC_REQUEST_ID}" server="${CF_SERVER}" port="${CF_PORT}" from="south@india.com" reply-to="123@india.com">
<xapi:message id="${CF_CONC_REQUEST_ID}" to="${CF_EMAILID}" attachment="true" subject="Statement Of Accounts between Period From ${CF_FROM_DATE}- Period To ${CF_END_DATE}">
Dear Customer,
Please find attached Statement of Account for the period of ${CF_FROM_DATE} to ${CF_END_DATE} of your business with us.
For any further assistance please feel free to contact us on our toll free lines or email us.
Warm Regards,
Indian Team
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Cust_Stmt_${CF_CUST_NUM}" output-type="pdf" delivery="${CF_CONC_REQUEST_ID}">
<xapi:template type="rtf" location="xdo://CUST_ACCOUNT_STA_CLASSA.en.US/?getSource=true" />
</xapi:document>
</xapi:request>
</xapi:requestset>
No comments:
Post a Comment