Moerani
(Moerani Kirabo)
October 19, 2023, 6:04pm
1
Hi,
how to correctly use double quotation mark in JavaScipt for email body?
return [
{
"Subject": "Pgghfgh",
"Importance": "Low",
"From": [{
"Name": "dsdfgdfd",
"Address": "dfdft@fdfs.com"
}],
"To": [{
"Name": "gdgdgfd",
"Address": ".dfdgdf@dgfdgd.com"
}],
"BodyType": "html",
"Body": "<img src="pic_trulli.jpg" alt="Italian Trulli">",
"Attachment": [{
"Name": inputData[0].Filename,
"Content": inputData[0].Data
}]
}
];
tomas
(Tomas Belak)
October 20, 2023, 8:30am
2
Hi,
you can suppress meaning of " char with using \ in front:
return [
{
"Subject": "Pgghfgh",
"Importance": "Low",
"From": [{
"Name": "dsdfgdfd",
"Address": "dfdft@fdfs.com"
}],
"To": [{
"Name": "gdgdgfd",
"Address": ".dfdgdf@dgfdgd.com"
}],
"BodyType": "html",
"Body": "<img src=\"pic_trulli.jpg\" alt=\"Italian Trulli\">",
"Attachment": [{
"Name": inputData[0].Filename,
"Content": inputData[0].Data
}]
}
];
Tomas
Moerani
(Moerani Kirabo)
October 20, 2023, 12:23pm
3
Hi, I try \"
, but it didn’t work in the final html representation, html was broken.
Then i tried '
and it worked great
<a href='https://integray.com/'>via integray</a>
Here is my result, that I am proud of, it was fun
I use JS mapper and Seznam SMTP Sender Connector.
system
(system)
Closed
October 27, 2023, 12:24pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.