<?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: How to read email body which in Tabular Format in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96801#M44954</link>
    <description>Hi @Mohan&amp;nbsp;V&lt;BR /&gt;&lt;BR /&gt;You can extract table in collection for that you need to get email body in html format and extract only table portion of html code and pass it on &lt;STRONG&gt;HTML Agility pack &lt;/STRONG&gt;which i have attached in this. By using this action, you will get table in collection.&lt;BR /&gt;&lt;BR /&gt;Thanks​</description>
    <pubDate>Wed, 07 Dec 2022 03:51:12 GMT</pubDate>
    <dc:creator>Soumya21</dc:creator>
    <dc:date>2022-12-07T03:51:12Z</dc:date>
    <item>
      <title>How to read email body which in Tabular Format</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96800#M44953</link>
      <description>Dear Experts,&lt;BR /&gt;&lt;BR /&gt;As part of a requirement I have created an Object which reads Outlook Email&amp;nbsp; and write into DB Table.&lt;BR /&gt;My Object reading the Email body as text, but some email's body we get in the form of Table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can some one please help me how to handle this type of scenario? so that I can read email body (tabular) and write into table in readable format. Example email body as below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35168.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35228iB8A249AED69E76C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="35168.png" alt="35168.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 06 Dec 2022 20:10:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96800#M44953</guid>
      <dc:creator>MohanV</dc:creator>
      <dc:date>2022-12-06T20:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to read email body which in Tabular Format</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96801#M44954</link>
      <description>Hi @Mohan&amp;nbsp;V&lt;BR /&gt;&lt;BR /&gt;You can extract table in collection for that you need to get email body in html format and extract only table portion of html code and pass it on &lt;STRONG&gt;HTML Agility pack &lt;/STRONG&gt;which i have attached in this. By using this action, you will get table in collection.&lt;BR /&gt;&lt;BR /&gt;Thanks​</description>
      <pubDate>Wed, 07 Dec 2022 03:51:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96801#M44954</guid>
      <dc:creator>Soumya21</dc:creator>
      <dc:date>2022-12-07T03:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to read email body which in Tabular Format</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96802#M44955</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="56d17f54-0dcf-40a7-ac73-980965835043" data-tag-text="@Soumya K" href="https://community.blueprism.com/network/profile?UserKey=56d17f54-0dcf-40a7-ac73-980965835043" data-itemmentionkey="cc977c08-8e83-4315-8459-50cc03115c0c"&gt;@Soumya K&lt;/A&gt; , Thank you very much for the reply. &lt;BR /&gt;I have utilized object "HtmlAgilityPack" shared by you, and passed email body (HTML) to it and set Output as "Collection". &lt;BR /&gt;When running the process I am seeing error as "​Internal : Could not execute code stage because exception thrown by code stage: Object reference not set to an instance of an object." .&amp;nbsp; &amp;nbsp;Being a beginner with BP,&amp;nbsp; I am not getting a clue to resolve this , could you please help?&lt;BR /&gt;Below is snapshot of my process.&amp;nbsp; You can see "Body" has data when process reached to "HtmlAgilityPack".&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35167.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35233i03385DB403B8E4D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="35167.png" alt="35167.png" /&gt;&lt;/span&gt;​</description>
      <pubDate>Thu, 08 Dec 2022 16:15:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96802#M44955</guid>
      <dc:creator>MohanV</dc:creator>
      <dc:date>2022-12-08T16:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to read email body which in Tabular Format</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96803#M44956</link>
      <description>&lt;SPAN&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/37099"&gt;@MohanV&lt;/a&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That error may be because of Table headers are in td format in html body of an email, if you change tables headers to th format it may work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Soumya&lt;/SPAN&gt;​</description>
      <pubDate>Fri, 09 Dec 2022 08:50:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-email-body-which-in-Tabular-Format/m-p/96803#M44956</guid>
      <dc:creator>Soumya21</dc:creator>
      <dc:date>2022-12-09T08:50:16Z</dc:date>
    </item>
  </channel>
</rss>

