How to use local PST folder in "Get Outlook Mail messages" activity

outlook
uipath

#1

I am trying to read outlook mail messages from a local folder rather than “inbox” folder.
But getting error the specified folder does not exist. Can someone help me in this.

Regards,
Arun


#2

Hi Arun_Sharma,

if your local folder is sub-folder of Inbox. Just use this “Inbox<Local_Folder_Name>” path in the Mail Folder text box.

Ex:- if Local Folder Name is “My” then give following path “Inbox\My” in Mail Folder text Box.

Thanks


#3

Hi Santan,

Thanks for your quick response. However after changing it to Inbox\Folder_Name, it is still picking up emails from Inbox because Folder_Name is present in my local system(PST file).
Any suggestions for PST file/folder?


#4

Hi Santa_Barnwal,

Any other suggestion for local PST folder? I am still unable to resolve this.

Regards,
Arun


#6

Hi all,

I’m facing the same problem. How can we access emails in the .pst archive folders ?

Best regards,
João


#7

Hello,

Sorry for late reply. Please check out this xaml file.

Read Email from PST.xaml (12.4 KB)


#8

Hi!

I’m having the same problem… I can use Inbox but can’t use a pst subfolder. Does anyone know?

Mail_Trigger_Sample has thrown an exception

Source: Get outlook mail messages

Message: The specified folder does not exist

Exception Type: ArgumentException

System.ArgumentException: The specified folder does not exist
at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


#9

were you able to get any solution for this ? I believe we cannot read local pst folders from UI path activity… can anyone confirm ?


#10

Unfortunately not. For a temporary resolution, i have moved the emails to a folder inside “Inbox”.