<?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: Recipient Email Addresses in Outlook VBO in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56867#M10974</link>
    <description>&lt;P&gt;&lt;STRONG&gt;PS:FYI&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;This code would not work when you have multiple employee with same name in the organization.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Eg:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Employee1 - Name: Sharma, Ram - Email: ram.sharma@abc.com&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Employee2- Name:&amp;nbsp;Sharma, Ram - Email: ram.sharma1@abc.com&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The code would fail to provide us the result, when we use name:&amp;nbsp;Sharma, Ram as an Input&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Himanshu Sharma&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 05 Jan 2024 06:55:00 GMT</pubDate>
    <dc:creator>himanshu.aristocrat</dc:creator>
    <dc:date>2024-01-05T06:55:00Z</dc:date>
    <item>
      <title>Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56857#M10964</link>
      <description>Is there a way to get all of the recipient email addresses? &lt;BR /&gt;&lt;BR /&gt;I'm using the Outlook VBO which has sender email address but only the display names of the To and CC fields and not their email addresses&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Farley&lt;BR /&gt;IPI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56857#M10964</guid>
      <dc:creator>CraigFarley</dc:creator>
      <dc:date>2020-04-14T16:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56858#M10965</link>
      <description>&lt;P&gt;I didn't see an easy way to integrate this into the current code stage without tearing some things apart, so I made it as a separate action, leveraging PrimarySmtpAddress. I'm attaching the XML in a txt file, built in 6.7. You should be able to copy the contents to a clipboard, then paste it in as a new action tab in your VBO.&lt;/P&gt;
&lt;P&gt;Alternatively, below is the code stage that I wrote if you want to get it working on your own. It takes the display name and current Outlook profile as an input, then spits out the e-mail address of the display name you've supplied.&lt;BR /&gt;&lt;BR /&gt;Inputs&lt;BR /&gt;=====&lt;BR /&gt;Profile - Text - Profile name in Outlook, not inbox account e-mail address&lt;BR /&gt;displayName - Text - Use one of the names placed in the To/CC field(s) currently populated by the Outlook VBO&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Outputs&lt;BR /&gt;======&lt;BR /&gt;smtpName - Text - The actual e-mail address associated with the display name being checked&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="language-csharp"&gt;Dim app &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"Outlook.Application"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
Dim _nameSpace &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; app&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetNameSpace&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"MAPI"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
Dim olSharedRecip &lt;SPAN class="token keyword"&gt;as&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;object&lt;/SPAN&gt;
Dim oEU &lt;SPAN class="token keyword"&gt;as&lt;/SPAN&gt; Object 'Outlook&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ExchangeUser

&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; Profile &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt; then
    _nameSpace&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Logon&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;Profile&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; True&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; True&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
end &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt;

olSharedRecip &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; _nameSpace&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateRecipient&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;displayName&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
olSharedRecip&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Resolve

&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; olSharedRecip&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Resolved then
	&lt;SPAN class="token keyword"&gt;select&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;case&lt;/SPAN&gt; olSharedRecip&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;AddressEntry&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;AddressEntryUserType
		Case &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;5&lt;/SPAN&gt; 'olExchangeUserAddressEntry &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt; olExchangeUserAddressEntry
			oEU &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; olSharedRecip&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;AddressEntry&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;GetExchangeUser
			&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; not &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;oEU &lt;SPAN class="token keyword"&gt;is&lt;/SPAN&gt; nothing&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; then
				smtpName &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; oEU&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;PrimarySmtpAddress
			end &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt;
		Case &lt;SPAN class="token number"&gt;10&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;30&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;'olOutlookContactAddressEntry &amp;amp; '&lt;/SPAN&gt;olSmtpAddressEntry
			smtpName &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; olSharedRecip&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;AddressEntry&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Address
	end &lt;SPAN class="token keyword"&gt;select&lt;/SPAN&gt;
end &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ami Barrett&lt;BR /&gt;Sr Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Plano, TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2020 20:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56858#M10965</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2020-04-14T20:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56859#M10966</link>
      <description>Hi Craig,&lt;BR /&gt;&lt;BR /&gt;I would recommend to use MS Exchange VBO which is available in Digital exchange.&lt;BR /&gt;It has wide range filters and all the required details as well.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/16835/solution/ms-exchange-functions---agilify" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/16835/solution/ms-exchange-functions---agilify&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amlan Sahoo&lt;BR /&gt;RPA Consultant&lt;BR /&gt;Equinix&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2020 03:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56859#M10966</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2020-04-15T03:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56860#M10967</link>
      <description>Hi Ami&lt;BR /&gt;&lt;BR /&gt;Thanks for the response. I got it to work. &lt;BR /&gt;&lt;BR /&gt;Does it only provide the email address for email addresses that sit on the same email domain? &lt;BR /&gt;&lt;BR /&gt;Can it process more than one display name at a time - if so what's the format?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Farley&lt;BR /&gt;Partner Apps Manager&lt;BR /&gt;IPI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2020 15:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56860#M10967</guid>
      <dc:creator>CraigFarley</dc:creator>
      <dc:date>2020-04-17T15:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56861#M10968</link>
      <description>At present, it only works for one name at a time. (Edit: And yes, it only works for addresses on the domain, as it performs an AD lookup against the account profile.) If more are required, a CSV or collection parser would need to be coded into it.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ami Barrett&lt;BR /&gt;Sr Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Plano, TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2020 15:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56861#M10968</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2020-04-17T15:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56862#M10969</link>
      <description>Thanks Ami, really helpful&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Craig Farley&lt;BR /&gt;Partner Apps Manager&lt;BR /&gt;IPI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2020 16:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56862#M10969</guid>
      <dc:creator>CraigFarley</dc:creator>
      <dc:date>2020-04-17T16:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56863#M10970</link>
      <description>I got this when trying to run the code in a code stage, would you please help&lt;BR /&gt;&lt;BR /&gt;Internal : Could not execute code stage because exception thrown by code stage: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16976.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17130i2C16CBB7FFF641CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="16976.png" alt="16976.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16977.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17137iC3E784247EC60E51/image-size/large?v=v2&amp;amp;px=999" role="button" title="16977.png" alt="16977.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16978.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17134iEE676C7109FCF284/image-size/large?v=v2&amp;amp;px=999" role="button" title="16978.png" alt="16978.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16979.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17133iC5A75633B8691F83/image-size/large?v=v2&amp;amp;px=999" role="button" title="16979.png" alt="16979.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Raymond Bu&lt;BR /&gt;SCM&lt;BR /&gt;DXC&lt;BR /&gt;Asia/Shanghai&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Nov 2021 10:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56863#M10970</guid>
      <dc:creator>RaymondBu</dc:creator>
      <dc:date>2021-11-04T10:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56864#M10971</link>
      <description>Never mind, i fixed it.&lt;BR /&gt;The root cause is that my outlook-&amp;gt;trust center-&amp;gt;programtic acess greyed out, all outlook related function cannot be used.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Raymond Bu&lt;BR /&gt;SCM&lt;BR /&gt;DXC&lt;BR /&gt;Asia/Shanghai&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Nov 2021 09:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56864#M10971</guid>
      <dc:creator>RaymondBu</dc:creator>
      <dc:date>2021-11-05T09:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56865#M10972</link>
      <description>&lt;P&gt;Hello Ami,&lt;/P&gt;
&lt;P&gt;I am working on similar requirement but instead of Display Name, I have to search using the Employee ID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are getting only the Employee ID in input file in format "1234567" and When I put it in TO: email address and press CTRL+K, it populates the email address.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could&amp;nbsp; you please guide me how can I do this using code?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shweta Singh&lt;BR /&gt;Consultant&lt;BR /&gt;Ernst &amp;amp; Young LLP&lt;BR /&gt;UTC&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jun 2023 06:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56865#M10972</guid>
      <dc:creator>ShwetaSingh</dc:creator>
      <dc:date>2023-06-16T06:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56866#M10973</link>
      <description>&lt;P&gt;In theory it should be the same code, as it's just using .Resolve against a string. I've used it against other inputs before (such as DN) and have seen success, but we unfortunately don't have IDs visible where I currently am to test against.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ami Barrett&lt;BR /&gt;Solution Architect&lt;BR /&gt;Karsun Solutions&lt;BR /&gt;Plano TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jun 2023 13:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56866#M10973</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2023-06-16T13:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: Recipient Email Addresses in Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56867#M10974</link>
      <description>&lt;P&gt;&lt;STRONG&gt;PS:FYI&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;This code would not work when you have multiple employee with same name in the organization.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Eg:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Employee1 - Name: Sharma, Ram - Email: ram.sharma@abc.com&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Employee2- Name:&amp;nbsp;Sharma, Ram - Email: ram.sharma1@abc.com&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The code would fail to provide us the result, when we use name:&amp;nbsp;Sharma, Ram as an Input&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Himanshu Sharma&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jan 2024 06:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Recipient-Email-Addresses-in-Outlook-VBO/m-p/56867#M10974</guid>
      <dc:creator>himanshu.aristocrat</dc:creator>
      <dc:date>2024-01-05T06:55:00Z</dc:date>
    </item>
  </channel>
</rss>

