levend-sayar Super Contributor.
Super Contributor.
162 views

How Can I Embed Image To HTML E-Mail

Hi,

I am trying to embed an image to an HTML email using Library/Operations/Email/Send Mail flow.
In practitoners forum there is a topic. But that did not help me so I would like to ask here.

Generally in programming languages you define cid and attach image by using Content-Type and Content-ID headers.
If you want embed more than one image , you can define for than one same header for different images.
First of all, I can not define more than one same header by using OO studio. So I can not define a second Content-Type for the image.

Also, there is a suggestion in practitioners forum topic using like below :

<img src="data&colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot">

Although I define as below within HTML email, I could not achieve embedding an image :

<img src="data&colon;image/png;base64,base64encodedimagestring" alt="Red dot">


Could you please help me how can I achieve this, if it is possible?

PS : My OO version is 10.21.0001

Regards

0 Likes
4 Replies
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: How Can I Embed Image To HTML E-Mail

I created this small video.

Let me know if it helps or not.

https://youtu.be/oaj9vc_X4OI?list=PLWiCC0hzgG_wkdSmwAOLT39NCh4KJCaVj

Best regards,

Andrei Vasile Truta
0 Likes
levend-sayar Super Contributor.
Super Contributor.

Re: How Can I Embed Image To HTML E-Mail

Thanks for the video.

I have tried in your way. But it did not work with the email client which is not on the same machine with OO studio. In this case path is being sent instead of image.

If I write <img src="http ://dcvta86296.i.lithium.com/html/assets/mf_logo_blue_small.png"> , it works when I select download pictures from e-mail client.

 

But what I want is sending these kind of images as attachment, then showing using Content-ID .

 

Regards

 

 

0 Likes
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: How Can I Embed Image To HTML E-Mail

let's try to use one post. whatever one you prefer.

the same as on the other one: did you use the attachments input of the operation?

 

Andrei Vasile Truta
0 Likes
levend-sayar Super Contributor.
Super Contributor.

Re: How Can I Embed Image To HTML E-Mail

We can continue from the other one

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.