Send HTML Email with embedded graphic
Is is possible to send an html email with an embedded graphic using the operation Library/Operations/Email/Send Mail? If it is possible does anyone have an example they can provide? I assume I would need to use the headers input but the description for it is a little confusing because it says the the default rowDelimiter is a ":" and the default columnDelimiter is "\n". However, the example uses the opposite so I assume that description has the default values mixed up. Additionally, the example includes the header "message-type:Multiple Part". I can't find any reference to this format. I believe it should be something like "Content-Type: multipart/related" or Content-Type: multipart/mixed. It seems like Content-Type: multipart/mixed might be hard coded so is it even possible to set a different content type? I believe I need to do something like this:
Content-Type: multipart/related (probably need to use a boundry as well but not sure how to)
Content-Type: image/jpeg; name="pic.jpg"
Content-Disposition: inline; filename="pic.jpg"
Then within the html refer to the image like this:
<img src="cid:firstname.lastname@example.org" alt="picture">
If this forum is not helping with addressing your question, then you might want to try our Operations Orchestration Support Customer Forum . This forum is only accessible for members that have a valid support contract (SAID) in their passport profile. This forum is also monitored by support engineers so they might be able to assist you with your question
I see that you have access to this forum, so feel free to access it and submit your question.
If you have any questions then please let me know.
The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of Micro Focus.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
Base-64 data is legal in an img tag and I believe your question is how to properly insert such an image tag.
You can use an online tool or a few lines of code to generate the base 64 string.
The syntax to source the image from inline data is:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot">
In wine wisdom!
In the beer force!
In water, the microbes...
I am also trying to embed an image to HTML email by using Lİbrary/Oparations/Email/Send Mail flow. I have check OO related documents but could not find an example or explanations how to embed image to an email.
I can not define more than one Content-Type to a flow as an input.
Also I have added
<img src="data:image/png;base64,base64encodedimagestring" alt="Red dot">
but this did not work also.
Could you please help me how can I achieve this and point a document which may help?
PS : My OO version is 10.21.0001
Thanks again, posting the same answer for anyone who read this post :
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 .