cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Image as Attcahment in HCI/CPI

krishnaz
Explorer
0 Kudos

Hi All,

How to send below image in the body of E-Mail from HCI.

I have tried to send as attachment at least but couldn't .

Can you please help me!!.

Thanks!

Sai Krishna.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member670637
Discoverer
0 Kudos
Sriprasadsbhat
Active Contributor
0 Kudos

Hello Sai,

Using below you can send the image as attachment.

Content Modifier:

Attached the body ( as its bit huge on size ) you can copy-paste the same in Content Modifier.

<html>
	<body>
		<img alt="My Image" src="data:image/jpeg;base64,copy-paste from attached file" />
		</body>
</html>

bodybase64.txt

Mail Adapter Setting:

You can reuse the same [ above body content and set the mail body with value ${in.body} ] to display HTML page as email body.[since Base 64 encoded images are blocked in outlook expected results are not getting displayed will keep you updated once it works ].Above solution works till that time.

Regards,

Sriprasad Shivaram Bhat

apu_das2
Active Contributor
0 Kudos

Hi,

Use the attached code to add your image as a attachment.

capture.jpg

Thanks,

Apu