# Specified folder doesn't exist in outlook

**URL:** <https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678>\
**Category:** Studio\
**Tags:** workflow-diff, question, studio, mail, activities\
**Created:** [August 5, 2022, 7:35am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678 "2022-08-05T07:35:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajib\_Behera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rajib_behera/32/264979_2.png) [@Rajib\_Behera](https://forum.uipath.com/u/Rajib_Behera)\
**Post date:** [August 5, 2022, 7:35am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/1 "2022-08-05T07:35:47Z")

</div>

I am facing a issue in the activity “GetOutlookMailMessage” ,the specified folder doesn’t exist .I have tried different ways to resolve this ,but still not got any solution,can anyone help me with the same..Thanks In advance!!!

---

<div class="post-metadata">

**Author:** ![nikhil.girish](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil.girish/32/462341_2.png) [@nikhil.girish](https://forum.uipath.com/u/nikhil.girish)\
**Post date:** [August 5, 2022, 7:41am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/2 "2022-08-05T07:41:49Z")

</div>

Hi @Rajib_Behera

Do you want to get mails from inbox

If so

Could you please remove your mail id from **“Account”** field and add “ **Inbox** ” in the **MailFolder** property and give a try.  
 ![](https://global.discourse-cdn.com/uipath/original/2X/8/8fe24c69e6a7fa2e4fbf6d6be8d046befa186f91.JPG)

---

<div class="post-metadata">

**Author:** ![Rajib\_Behera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rajib_behera/32/264979_2.png) [@Rajib\_Behera](https://forum.uipath.com/u/Rajib_Behera)\
**Post date:** [August 5, 2022, 7:44am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/3 "2022-08-05T07:44:15Z")

</div>

Thanks For the solution,But I have already tried this way,and still facing the issue.

---

<div class="post-metadata">

**Author:** ![nikhil.girish](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil.girish/32/462341_2.png) [@nikhil.girish](https://forum.uipath.com/u/nikhil.girish)\
**Post date:** [August 5, 2022, 7:46am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/4 "2022-08-05T07:46:00Z")

</div>

So basically you want to read inbox folder right ?

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [August 5, 2022, 8:05am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/5 "2022-08-05T08:05:56Z")

</div>

Kindly note that the folders are localized to the different languagues, Inbox, Posteingang

Whenever there is a doubt on the name (e.g. also for subfolders the path) then check it out in Outlook:

- rightclick on folder
- select Properties
- refer to Location / path and checkout the details

We assume that you are not talking about folders from shared accounts

---

<div class="post-metadata">

**Author:** ![Rajib\_Behera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rajib_behera/32/264979_2.png) [@Rajib\_Behera](https://forum.uipath.com/u/Rajib_Behera)\
**Post date:** [August 5, 2022, 8:47am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/6 "2022-08-05T08:47:26Z")

</div>

yes,but for any folder its not working.

---

<div class="post-metadata">

**Author:** ![Rajib\_Behera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rajib_behera/32/264979_2.png) [@Rajib\_Behera](https://forum.uipath.com/u/Rajib_Behera)\
**Post date:** [August 5, 2022, 8:51am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/7 "2022-08-05T08:51:49Z")

</div>

My location is my email Address,anything to be changed?

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [August 5, 2022, 8:57am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/8 "2022-08-05T08:57:56Z")

</div>

> [@ppr](#):
>
> We assume that you are not talking about folders from shared accounts

is this right?

otherwise just test  
FolderName  
location/Foldername  
AD name/Foldername

---

<div class="post-metadata">

**Author:** ![Rajib\_Behera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rajib_behera/32/264979_2.png) [@Rajib\_Behera](https://forum.uipath.com/u/Rajib_Behera)\
**Post date:** [August 5, 2022, 8:15pm UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/9 "2022-08-05T20:15:01Z")

</div>

I have tried this way also,i.e. location/foldername but still getting the same error.

---

<div class="post-metadata">

**Author:** ![marian.platonov](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/marian.platonov/32/260263_2.png) [@marian.platonov](https://forum.uipath.com/u/marian.platonov)\
**Post date:** [August 7, 2022, 7:37am UTC](https://forum.uipath.com/t/specified-folder-doesnt-exist-in-outlook/462678/10 "2022-08-07T07:37:37Z")

</div>

Check the path location.

For example, right-click on the needed folder

 ![image](https://global.discourse-cdn.com/uipath/original/4X/4/a/8/4a8bdb73cc3e9a851f1227daadcec2e0532928b3.png)

Then, you may double-check the permissions on that folder

 ![image](https://global.discourse-cdn.com/uipath/original/4X/7/e/4/7e44eff6745d512d45dd004e61b61e6bce1c2a85.png)

In a **Modern Design** experience project, the workflow should look like this

In emails from:

```auto
OutlookApplication.Folder("Inbox\Tutorials\SubfolderSample")

```

 ![image](https://global.discourse-cdn.com/uipath/original/4X/7/3/1/7314763235c6029d1efcc8d7d8361efcceb6ebc9.png)

* * *

For the **Get Outlook Mail Messages** activity, the **MailFolder** location should look like this:

```auto
"Inbox\Tutorials\SubfolderSample"

```

 ![image](https://global.discourse-cdn.com/uipath/original/4X/4/2/3/4236ec4012d15532f81bcd3518c097e782586da8.png)

In the **For Each** activity, the TypeArgument should be System.Net.Mail.MailMessage

 ![image](https://global.discourse-cdn.com/uipath/original/4X/5/0/d/50dfb0713c9a05ce8518480bf5ab50b1b934dcfd.png)

Write Line (for a VB Language project):

```auto
" ************" + vbCr + "Subject: " + email.Subject + vbCr + "Sender: " + email.SenderEmailAddress + vbCr + "Date: " + email.Date + vbCr + "Body: " + email.Body + vbCr

```

Let us know if this helped.
