Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to send an email with tsend mail using an HTML CSS template.
here's my job:
I tried to add this into my TjavaRow :
String msg = ((String)globalMap.getOrDefault("mailMsg", "<table><tr><th>Num de Chassis</th></tr>"));
msg = msg +
"<tr>" +
"<td>" + Sortie.Num_Chassis + "</td>" +
"</tr>";
but I'm getting this in my email :
Can you help with this ?
Hi,
Talend of course not the best tool for sending email 🙂
but something possible
do you enable HTML format?
Hi,
Talend of course not the best tool for sending email 🙂
but something possible
do you enable HTML format?
Now It's working,
But I need it to send all the rows in one mail, is it possible and if so how ?
in theory - yes, but you need prepare HTML body before tSendMail
then use prepared variable as email body text
personally I - use prepared HTML text with few included variables (like name, account + etc) and attachment (csv or pdf)
so, first - prepare atttachment, then prepare text, and send email with attachments
I'm preparing my HTML body in tjavaRow! I'm just confused what do you mean by attachments! Do you mean I should Include the row that I want to print in my email in the file I attach?