cancel
Showing results for 
Search instead for 
Did you mean: 

Email Sender Snap - Send data as HTML Table

pranjbhatt
New Contributor II

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?

1 ACCEPTED SOLUTION

dmiller
Former Employee

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>

Diane Miller

View solution in original post

1 REPLY 1

dmiller
Former Employee

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>

Diane Miller