cancel
Showing results for 
Search instead for 
Did you mean: 

Payload as HTML table in E-mail receiver

Former Member
0 Kudos

Hi all,

I would like to send an e-mail with the whole payload set in a HTML table.

The input input would be like this:

<record>

     <articlenr>123</articlenr>

     <articledescription>article</articledescription>

     <articleprice>1.00</articleprice>

</record>

<record>

     <articlenr>124</articlenr>

     <articledescription>article2</articledescription>

     <articleprice>1.50</articleprice>

</record>

Then I would like to send an E-mail. With the "Content" field filled like this:

<html>

     <table>

          <tr><td>Article number</td><td>Description</td><td>Price</td></tr>

          <tr><td>123</td><td>article</td><td>1.00</td></tr>

          <tr><td>124</td><td>article2</td><td>1.50</td></tr>

     </table>

</html>

How can I do the mapping so it would create it as HTML? I'm thinking is would be an UDF. But how do I process the whole payload in a UDF?

Hope someone can help!

Thanks,

Koen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Already figured it out:

Just loop through the Argument array in an UDF. Here I can process the items each at the time.

Answers (0)