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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Images in HTML code in the tSendmail

Hi,

I'm building a job where, from data retrieved from the database, I generate a mail in HTML format in the tSendMail. The question is: Is there a way to be able to add images in the HTML?

Best regards

Labels (2)
4 Replies
ashif2
Creator II
Creator II

"
<!DOCTYPE html>
<html>
<body>

<h2>Spectacular Mountain</h2>
<img src='http://www.rgagnon.com/images/jht.gif'>   
<img src='C:Users/ashifa/Pictures/Success.JPG'>

</body>
</html>
"

 

 

Image over the internet is getting in the email whereas the image which is available in my local machine is not embedded in the mail... 

jilanisyed
Creator
Creator

Hi 

We can write the general HTML code for insert Img. please see the sample logic for see image in email

 

"<html>
<body>
<h2>Spectacular Mountain</h2>
<img src='https://upload.wikimedia.org/wikipedia/commons/f/f9/Phoenicopterus_ruber_in_S%C3%A3o_Paulo_Zoo.jpg 'style='width:304px;height:228px;'>

</body>
</html>"

 

Anonymous
Not applicable
Author

Hi @ashif ,

I am with the same problem, when sending emails with images embedded, the images in my local machine are not embedded.

Did you find an away to solve this? Thanks.

akumar2301
Specialist II
Specialist II

As per my understanding tSendMail doesn’t support CID tags in HTML so embadded image might not work.

You need to create your own routine or component.