One Star

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

2 REPLIES
Seven Stars

Re: Images in HTML code in the tSendmail

"
<!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... 

Six Stars

Re: Images in HTML code in the tSendmail

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>"