<?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 I think there's something… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61191#M14529</link>
    <description>I think there's something wrong with this line of code in&amp;nbsp;Internal_Get Items page in Outlook VBO.&amp;nbsp;
If (item.SenderEmailType = ""EX"",item.Sender.GetExchangeUser.PrimarySmtpAddress,item.SenderEmailAddress)
&amp;nbsp;
If the sender is internal to the organization, SenderEmailAddress does not return the email address, but gives the following/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=EB1A373A70B94DA59BABB713C2EBA4E6-APP_SUPP_RP
I think that line above was meant to fix this issue, but it's not. Instead, it throws off the entire Get email.&amp;nbsp;
&lt;A href="https://docs.microsoft.com/en-us/office/client-developer/outlook/pia/ho…" target="test_blank"&gt;https://docs.microsoft.com/en-us/office/client-developer/outlook/pia/ho…&lt;/A&gt;
&amp;nbsp;</description>
    <pubDate>Wed, 19 Dec 2018 03:55:00 GMT</pubDate>
    <dc:creator>pranavred</dc:creator>
    <dc:date>2018-12-19T03:55:00Z</dc:date>
    <item>
      <title>Outlook VBO doesn't read emails, when sender is a Distribution List</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61188#M14526</link>
      <description>Has anyone encountered this error while using latest Outlook VBO? When the sender is a Distribution List (Outlook distribution list which contains several users. Some users have permissions set up to "send as" DL), Get mail doesn't work with Outlook VBO.&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Thu, 13 Dec 2018 19:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61188#M14526</guid>
      <dc:creator>pranavred</dc:creator>
      <dc:date>2018-12-13T19:43:00Z</dc:date>
    </item>
    <item>
      <title>Are you using the Sender…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61189#M14527</link>
      <description>Are you using the Sender Name or Sender Email inputs to 'Get Received Items' in order to filter the messages that are received?
If so, have you tried removing those inputs first? And have you confirmed what happens if you try to pull all items within the time frame? Does it still not get the email sent from a DL?</description>
      <pubDate>Fri, 14 Dec 2018 07:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61189#M14527</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-12-14T07:06:00Z</dc:date>
    </item>
    <item>
      <title>No, I'm not using any Sender…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61190#M14528</link>
      <description>No, I'm not using any Sender Name or Sender Email inputs.&amp;nbsp;&amp;nbsp;
I tried adding Received Earliest and Received Latest.&amp;nbsp;It doesn't work even with them added. I'm able to pull other emails if the ""Unread"" condition doesn't apply to the email coming from Distribution List.&amp;nbsp;
I requested to create&amp;nbsp;a Distribution List in my firm&amp;nbsp;and tested. It doesn't work only for emails coming from a distribution list.&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Wed, 19 Dec 2018 03:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61190#M14528</guid>
      <dc:creator>pranavred</dc:creator>
      <dc:date>2018-12-19T03:02:00Z</dc:date>
    </item>
    <item>
      <title>I think there's something…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61191#M14529</link>
      <description>I think there's something wrong with this line of code in&amp;nbsp;Internal_Get Items page in Outlook VBO.&amp;nbsp;
If (item.SenderEmailType = ""EX"",item.Sender.GetExchangeUser.PrimarySmtpAddress,item.SenderEmailAddress)
&amp;nbsp;
If the sender is internal to the organization, SenderEmailAddress does not return the email address, but gives the following/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=EB1A373A70B94DA59BABB713C2EBA4E6-APP_SUPP_RP
I think that line above was meant to fix this issue, but it's not. Instead, it throws off the entire Get email.&amp;nbsp;
&lt;A href="https://docs.microsoft.com/en-us/office/client-developer/outlook/pia/ho…" target="test_blank"&gt;https://docs.microsoft.com/en-us/office/client-developer/outlook/pia/ho…&lt;/A&gt;
&amp;nbsp;</description>
      <pubDate>Wed, 19 Dec 2018 03:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61191#M14529</guid>
      <dc:creator>pranavred</dc:creator>
      <dc:date>2018-12-19T03:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: I think there's something…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61192#M14530</link>
      <description>Hello&amp;nbsp;&lt;A id="MainCopy_ctl08_ucMessageList_rptMessageList_ProfileImageDisplay_3_NameLink_3" biobubblekey="4c3086e7-7016-4ad5-9f79-42e8907b75b1" href="https://community.blueprism.com/network/profile?UserKey=4c3086e7-7016-4ad5-9f79-42e8907b75b1" target="_blank" rel="noopener"&gt;Venkata Pranav Reddy Thathireddygari&lt;/A&gt;,&lt;BR /&gt;Did you found any solution for this?I'm having the same problem.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cleidson Cordeiro&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2020 16:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61192#M14530</guid>
      <dc:creator>CleidsonCordeir</dc:creator>
      <dc:date>2020-03-16T16:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: I think there's something…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61193#M14531</link>
      <description>You'll need to check the sender to see if it's a distribution list or not. I believe this should help:&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;&lt;SPAN class="token keyword"&gt;public&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;string&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;GetSenderAddress&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;MailItem mail&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
	&lt;SPAN class="token comment" spellcheck="true"&gt;// Checks if the sender is an Exchange address.&lt;/SPAN&gt;
	&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;mail&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;SenderEmailType &lt;SPAN class="token operator"&gt;==&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"EX"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
		&lt;SPAN class="token comment" spellcheck="true"&gt;// Checks if the sender is a distrubtion list, which requires a different function call to&lt;/SPAN&gt;
		&lt;SPAN class="token comment" spellcheck="true"&gt;// get the email address instead of the exchange address.&lt;/SPAN&gt;
		&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;mail&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Sender&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;AddressEntryUserType &lt;SPAN class="token operator"&gt;==&lt;/SPAN&gt; OlAddressEntryUserType&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;olExchangeDistributionListAddressEntry&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
			&lt;SPAN class="token keyword"&gt;return&lt;/SPAN&gt; mail&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Sender&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetExchangeDistributionList&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;PrimarySmtpAddress&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
		&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;else&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
			&lt;SPAN class="token keyword"&gt;return&lt;/SPAN&gt; mail&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Sender&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetExchangeUser&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;PrimarySmtpAddress&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
		&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
	&lt;SPAN class="token comment" spellcheck="true"&gt;// If the sender is not an exchange address (which typically means it's an external email), &lt;/SPAN&gt;
	&lt;SPAN class="token comment" spellcheck="true"&gt;// SenderEmailAddress will contain the correct email address.&lt;/SPAN&gt;
	&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;else&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
		&lt;SPAN class="token keyword"&gt;return&lt;/SPAN&gt; mail&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;SenderEmailAddress&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
	&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;You'll have to adapt it to the Outlook VBO, but this should get the email address instead of the Exchange string for distribution lists. It's very similar code to resolve the To/CC/BCC fields to the correct email address if you have problems with those too.&lt;/P&gt;
------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2020 13:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61193#M14531</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-03-17T13:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: I think there's something…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61194#M14532</link>
      <description>Thank you very much I made the adjustment:&lt;BR /&gt;
&lt;PRE class="tw-data-text tw-text-large tw-ta" data-placeholder="Tradução" id="tw-target-text" dir="ltr"&gt;&lt;SPAN lang="pt"&gt;Row ("SenderEmailAddress") = If (item.SenderEmailType = "EX",if(item.Sender.AddressEntryUserType = OlAddressEntryUserType.olExchangeDistributionListAddressEntry,item.Sender.GetExchangeDistributionList.PrimarySmtpAddress,item.Sender.GetExchangeUser.PrimarySmtpAddress),item.SenderEmailAddress)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;BR /&gt;I'll do more tests but for how much it's working!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cleidson Cordeiro&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2020 17:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-doesn-t-read-emails-when-sender-is-a-Distribution/m-p/61194#M14532</guid>
      <dc:creator>CleidsonCordeir</dc:creator>
      <dc:date>2020-03-17T17:48:00Z</dc:date>
    </item>
  </channel>
</rss>

