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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
aminegac
Creator
Creator

tsendmail html background image as a template?

i want to send email but with a background image like a template,i already succeeded to send email having some html atributes like color and font-family also but my <div path.png")" did not work ,also i tried background-color for DIV and also failed , so any idea on how to do it , i jsut want to send better designed email .

Talend OS 4 yrs / Java 17 Web Dev
Labels (3)
3 Replies
Anonymous
Not applicable

Hello,

It is not easy for us to take a testing for your use case. Would you mind sending the code you've working for HTML in your emails?

Best regards

Sabrina

aminegac
Creator
Creator
Author

@Xiaodi Shi​  Hello,

here is what i wrote in the body of tSendMail hoping to have a background color or image for my div containing all the speech that will be sent to clients:

 " <div style=\"background-color:#003188;font-family:Trebuchet MS\">

Le Job "+jobName +" est terminé avec succes <img  src=\"C:\\Talend\\TOS_DI-Win32-20200219_1130-V7.3.1\\yes.png\" > le "+TalendDate.getDate("yyyy-mm-dd hh:mm:ss") +" . <br>

Bien cordialement . </div> <br>

 <div style=\"color:#555555\">#Ce message est transmit aprés l'excution avec succès d'un job .</div>

<br><br><img  src=\"C:\\Talend\\TOS_DI-Win32-20200219_1130-V7.3.1\\1.png\" >"

Talend OS 4 yrs / Java 17 Web Dev
Anonymous
Not applicable

Hello,

We will make an investigation on your issue and then come back to you as soon as we can.

Best regards

Sabrina