How To Embed An Image In The Body Of Welcome Mail (Doc ID 865542.1)

Last updated on JUNE 29, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

While sending welcome email to the account holders, we need to send images along with the text in the body of the welcome email, but it is going as a separated attachment.

Steps to Reproduce:

1) Modify default.intro to include HTML tags and image tags with image placed in same folder as intro file.

2) Modify the PCM_OP_CUST_POL_POST_COMMIT policy opcode to call the opcode PCM_OP_CUST_POL_GET_INTRO_MSG. (On checking the cm.pinlog, the opcode PCM_OP_CUST_POL_GET_INTRO_MSG is successfully generating a buffer for the HTML contents specified in Default.intro.)

3) Call the PCM_OP_DELIVERY_MAIL_SENDMSGS opcode and place the buffer fetched above into the PIN_FLD_LETTER field of input flist.

If PIN_FLD_TYPE_STR field is not specified, then it interprets the PIN_FLD_LETTER buffer contents as text in the body of the mail.

If PIN_FLD_TYPE_STR field specified as HTML, then it sends a mail with an attatchment (ex: xyz.bin) file which when opened on web browser displayed as HTML file.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms