Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
pawe84
Creator

tSendMail issue to add graphic url into message field

Hi everyone,

inside my email is just a  string from tJavaRow (String)globalMap.get("htmlContent"), now I wanted to add an image above the string like this. But I'll get always error.

 

<img src="http://example.com/logo.png" alt="Logo" width="200"> + "\n"+
(String)globalMap.get("htmlContent")

 

I also tried but still error.

<img src="http://example.com/logo.png" alt="Logo" width="200">  <br>
(String)globalMap.get("htmlContent")

Why this easy thing occurs error?

Any ideas?

 

 

 

 

Labels (1)
  • v8.x

1 Solution

Accepted Solutions
2 Replies
Shicong_Hong
Support

I have replied your another topic and showed that how to replace a substring with new value, please try it and let me know if the logo shows in the email using the new HTML message.

 

pawe84
Creator
Author