Solved

How to add a table to an email template

  • 2 June 2020
  • 1 reply
  • 131 views

Userlevel 3

Hi, I would love to build a table on my email template with specific content from my vendor to be  displayed on the body of the email. Is it possible? 

icon

Best answer by Felipe Scholz 4 June 2020, 01:20

View original

1 reply

Userlevel 7
Badge +5

Hi @Peter Alexander , pipefy enables users to add tables to email templates using html (click here to learn more about creating tables in html).

You can use the <table>, <tr>, <th> and <td> tags to create tables as well as some inline styling such as width, border, background color, etc.

Here's what the code to a simple table would look like:

image.png

<table style="width:100%; border:1px solid black">
<tr style="border:1px solid black">
<th style="border:1px solid black">Row 1 title</th>
<th style="border:1px solid black">Row 2 title</th>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 1</td>
<td style="border:1px solid black">Row 2 content 1</td>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 2</td>
<td style="border:1px solid black">Row 2 content 2</td>
</tr>
</table>

This is what it looks like in the received email:

image.png

Reply