tsendmail html background image as a template

0 votes

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 style="background-image:url("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 .

Dec 11, 2020 in Talend by aminegac
• 570 points
1,485 views
Hey, @Aminegac,

Please send you the code and workaround.

@Gitika thank you .

in my case as i mentionned everything goes well except for the baackground-image: url("/path/myfile.png")  !!

  here is a part of my email body " <div style=\"color:#003188;font-family:Trebuchet MS;background-image: url(\"C:\\Talend\\TOS_DI-Win32-20200219_1130-V7.3.1\\yes.png\") \"> 
The Job "+jobName +" finished sucessfully <img   src=\"C:\\Talend\\TOS_DI-Win32-20200219_1130-V7.3.1\\yes.png\"  >" 

everything goes right even the color of my speech and the image tag in the end of my email body ; 

Hey, @Aminegac,

First of all, wave bye-bye to those quotes:

div style=background-image:url(path.png);
hi @Nikita thank you , i tried it but it did not work .

Hey, @Aminegac,

Is it giving the error same while executing the above given?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Talend

0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
0 votes
2 answers
0 votes
1 answer

How to load a set of files into database using Talend

Using tFileList component,  you can read all the files present ...READ MORE

answered Apr 17, 2018 in Talend by code.reaper12
• 3,500 points
6,168 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,567 views
0 votes
1 answer

Using/Handling colon inside a JSF generated HTML element ID in CSS selector

Yes, you can.  Just Backslash (\) the colon.  Like ...READ MORE

answered Nov 14, 2018 in Others by DataKing99
• 8,250 points
2,862 views
0 votes
1 answer

What is a css selector and where is it used?

CSS Selector is a combination of element ...READ MORE

answered Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
946 views
0 votes
1 answer

What is the difference between span and div?

The div should be used to wrap sections of ...READ MORE

answered Jan 16, 2020 in Web Development by Niraj

edited Jan 21, 2020 by Niroj 3,672 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP