<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Body email in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/509929#M1077</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/228585"&gt;@SteveB&lt;/a&gt;, you can use the "htmlBody" parameter instead of "body" when running the send-mail command, to send the email body in an HTML format. Then you'll be able to add an HTML table to the formatted HTML email body.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To convert a given array (context key) to an HTML table, use the&amp;nbsp;ConvertTableToHTML automation, which will save the output into a new context key, that you can then use in the HTML body.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 15:56:18 GMT</pubDate>
    <dc:creator>nkazinets</dc:creator>
    <dc:date>2022-07-26T15:56:18Z</dc:date>
    <item>
      <title>Body email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/509922#M1075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a playbook I'm using the automation 'send e-mail (EWSO365)'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the body of the email I'm adding a list that the playbook has generated as following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Get&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;inputs.BreachData
&lt;DIV class=""&gt;Override input
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Where&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class=""&gt;No filters applied
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Transformers&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;JsonToTable (title: BreachData, headers: , is_auto_json_transform: , json_transform_properties: )
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't receive any errors and all the data is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the issue I have is that the email is unreadable.&lt;/P&gt;
&lt;P&gt;It's just one line after the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to make the layout look readable?&lt;/P&gt;
&lt;P&gt;For example like some sort of Excel table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jul 2022 15:14:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/509922#M1075</guid>
      <dc:creator>SteveB</dc:creator>
      <dc:date>2022-07-26T15:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Body email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/509929#M1077</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/228585"&gt;@SteveB&lt;/a&gt;, you can use the "htmlBody" parameter instead of "body" when running the send-mail command, to send the email body in an HTML format. Then you'll be able to add an HTML table to the formatted HTML email body.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To convert a given array (context key) to an HTML table, use the&amp;nbsp;ConvertTableToHTML automation, which will save the output into a new context key, that you can then use in the HTML body.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 15:56:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/509929#M1077</guid>
      <dc:creator>nkazinets</dc:creator>
      <dc:date>2022-07-26T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Body email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/510020#M1079</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/221672"&gt;@nkazinets&lt;/a&gt;&amp;nbsp;You are a lord! Exactly what I needed&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 06:41:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/body-email/m-p/510020#M1079</guid>
      <dc:creator>SteveB</dc:creator>
      <dc:date>2022-07-27T06:41:02Z</dc:date>
    </item>
  </channel>
</rss>

