Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
ThomasLetellier
Contributor
Contributor

Using image (png) as resource in the Talend Managment Console

Hello,

I want to send an email with the tSendmail component. My email contains a signature written in html and includes 2 images using the cid mode :

src=\"cid:"image002.png+"\"

That works, but now I would like to store these images as "resource" in the Talend Managment Console instead of adding them using the local path file. I created 2 resources, one for each image and I set up my job in the TMC to use these resources. The problem is that when I call these resources in my job (context.resource_file_image001) the file name is not "image001.png" but something like 3723827328.tmp, and because of that my image is not added to the email signature.

Now my html code looks like this:

src=\"cid:"+context.resource_file_image002+"\

and in the "Attachments" part of the tSendmail component I have "context.resource_file_image002"

Below the result of what I get when I receive the email (i was expected "image001.png" and "image002.png");

0693p00000AFVJLAA5.png

Does anybody know how to do that ?

Thanks for your help,

Thomas Letellier

Labels (2)
0 Replies