cancel
Showing results for 
Search instead for 
Did you mean: 

How to send HTML Image in CPI/HCI

krishnaz
Explorer
0 Kudos

Hi All,

My client has a requirement where he has to send birthday emails to Employees, wherein he is asking to send HTML Image in the mail body.

Can you please help me with an idea.

Thanks
Sai Krishna.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Saikrishna,

at you it turned out to realize an objective? If it turned out, tell as you made it.

My client wants to realize the same functionality for clients of the website of coursework writing service.

Thanks in advance.

Alice.

0 Kudos

Hi Saikrishna,

Did you find a way to achieve this? Can you please share the approach?

Thanks in advance.

Regards,

Narayana

krishnaz
Explorer

Hi Swamy,

We hosted the image in web server and accessing it using URL, I have placed the same URL in mail body and its working fine.

Thanks!

dhairya
Explorer
0 Kudos

Hi Saikrishna,

Can you please share the html code you used in the mail body to view this image. I am not able view the image by below mentioned code.

<html> <body> <img src="<url where the image is hosted>" alt="<Image name>" width="500" height="333"> </body> </html>

Regards,

Dhairya Khimsaria

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Saikrishna,

You can form your html body either using xslt or put content modifier and update the required html in body section before your end message step(xslt is preferred if you want to attach a image or want to perform lot of html typical types).

In the mail reciever adapter you can set the body type as text/HTML.

Below blog might also help you.

https://blogs.sap.com/2018/03/19/sender-and-receiver-mail-adapter-in-sap-cloud-platform-integration/

Regards,

Sriprasad Shivaram Bhat

krishnaz
Explorer
0 Kudos

Hello Sri,

Thanks a lot for your answer, but can you please help me on how to attach the below image either in content modifier or XSLT mapping as i couldn't figure it out.

Please help me on this.