08-19-2024 09:35 AM
Hi,
I am receiving data from Mapper (4 columns, multiple rows) and want to email it as Table.
I tried HTML Table option under Email Send send but do not know the how to call data in email body.
Do you have any template to look into?
Solved! Go to Solution.
08-20-2024 01:34 PM
This is from an older pipeline I have in my archives, so it may need to be tested, but I used something like this:
<!DOCTYPE html>
<html>
<head>
<title>Title to Show at the top</title>
<style type="text/css">
table.Snap {background-color:transparent;border-collapse:collapse;width:100%;}
table.Snap th, table.Snap td {text-align:center;border:1px solid black;padding:5px;}
table.Snap th {background-color:AntiqueWhite;}
</style>
</head>
<body>
<p>Sentence describing the table:</p>
<table class="Snap">
</table>
<p>Any text you need after the table.</p>
</body>
</html>
08-20-2024 01:34 PM
This is from an older pipeline I have in my archives, so it may need to be tested, but I used something like this:
<!DOCTYPE html>
<html>
<head>
<title>Title to Show at the top</title>
<style type="text/css">
table.Snap {background-color:transparent;border-collapse:collapse;width:100%;}
table.Snap th, table.Snap td {text-align:center;border:1px solid black;padding:5px;}
table.Snap th {background-color:AntiqueWhite;}
</style>
</head>
<body>
<p>Sentence describing the table:</p>
<table class="Snap">
</table>
<p>Any text you need after the table.</p>
</body>
</html>