SXI Forum

A place to collect usefull tips, tricks and implementation strategies.

You are not logged in.

#1 22-02-2021 18:42:47

ZwidoG
Member
From: Pretoria
Registered: 21-11-2018
Posts: 4
Website

Sending HTML Email using X-ServiceBroker

This will require you to set your Body OutputField in the config as follows :

<sxi:OutputField datatype="emailBodyTypeHtml">Body</sxi:OutputField>

Below is how the Field portion within a DataDefinition should look like:

        <sxi:Field name="Body">
          <sxi:Rules>
            <sxi:Concatenation>
              <sxi:Delimiter>

              </sxi:Delimiter>
              <sxi:Fields>
                <sxi:Field staticValue="yes">&lt;p&gt;paragraph 1&lt;/p&gt;</sxi:Field>
                <sxi:Field staticValue="yes">&lt;p&gt;paragraph 2&lt;/p&gt;</sxi:Field>
              </sxi:Fields>
            </sxi:Concatenation>
          </sxi:Rules>
          <sxi:OutputField datatype="emailBodyTypeHtml">Body</sxi:OutputField>
        </sxi:Field>

Offline

Board footer

Powered by FluxBB