<?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 Can you export this VBO? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45484#M1701</link>
    <description>Can you export this VBO?</description>
    <pubDate>Thu, 06 Dec 2018 18:02:00 GMT</pubDate>
    <dc:creator>DavidRubiano</dc:creator>
    <dc:date>2018-12-06T18:02:00Z</dc:date>
    <item>
      <title>Access subfolder in shared mailbox failed (Mapiex)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45482#M1699</link>
      <description>Hi all

I try to access a subfolder within a shared mailbox in Outlook. The connection to the message storage form this shared mailbox works fine. But I struggle with accessing a subfolder within this shared mailbox. Here the code I use (extracted from Mapiex VBO):


&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim SharedMailboxName As String = "\\examplemailbox"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim SubFolder As String = "testfolder"

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Initialise the extended MAPI interface
&amp;nbsp;&amp;nbsp;&amp;nbsp; Using mapi As New NetMAPI()

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'log into mapi
&amp;nbsp;&amp;nbsp;&amp;nbsp; mapi.Login(Profile)

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Connect to Shared Mailbox
&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not mapi.OpenMessageStore(SharedMailboxName) Then Throw New MAPIException("Failed to access message store")

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Access the subfolder
&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not mapi.Opensubfolder(SubFolder) Then Throw New MAPIException("Failed to access the subfolder")



When I run this I always get the error "Failed to access the subfolder". What I am doing wrong? Should I set subfolder with something like "\\examplemailbox\subfolder" or something like this? I tried already different constellations.

I really hope somebody can help me in this case.

Many thanks in advance

Kind Regards,
RenÃ©


&amp;nbsp;


&amp;nbsp;

&amp;nbsp;</description>
      <pubDate>Thu, 26 Jul 2018 14:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45482#M1699</guid>
      <dc:creator>RenéGraf</dc:creator>
      <dc:date>2018-07-26T14:37:00Z</dc:date>
    </item>
    <item>
      <title>oh, just got it :). Before…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45483#M1700</link>
      <description>oh, just got it :). Before trying to open the subfolder I first need to open the Inbox anyway. I thought this is not needed when I want to access a subfolder :
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Open Inbox
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;If Not mapi.OpenInbox() Then Throw New MAPIException(""Failed to access inbox"")
Best regards</description>
      <pubDate>Thu, 26 Jul 2018 16:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45483#M1700</guid>
      <dc:creator>RenéGraf</dc:creator>
      <dc:date>2018-07-26T16:43:00Z</dc:date>
    </item>
    <item>
      <title>Can you export this VBO?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45484#M1701</link>
      <description>Can you export this VBO?</description>
      <pubDate>Thu, 06 Dec 2018 18:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Access-subfolder-in-shared-mailbox-failed-Mapiex/m-p/45484#M1701</guid>
      <dc:creator>DavidRubiano</dc:creator>
      <dc:date>2018-12-06T18:02:00Z</dc:date>
    </item>
  </channel>
</rss>

