I have a process which uses a Get Outlook Mail Message activity to retrieve an email, get the attachments from that email and then process those attachments.
The process runs, end to end, with no issues, providing the desired end result on one machine, but when I try and run it on a different machine - the one it needs to run on - I get an error of:
Get Outlook Mail Messages: The specified folder does not exist
I have checked across both machines and I am running the same version of Outlook and the same version of UiPath. The settings across both machines are the same as far as I can see.
I have tried every possible answer I can find on the forums and am hoping someone may have another idea.
In addition to @Gokul001 response, also try increasing timeout of your UI Activities if you are using along with get outlook mail message activity as due to heavy size of group mailbox, this issue may occur sometimes.
I have a huge Timeout on the activity, it hasn’t had any impact I’m afraid
I have tried with my required Account information in the Account field and with Account empty, no effect, I have also tried with “Inbox”.ToString, as well as without “Inbox” in the MailFolder field.
Thank you for this suggestion, the Account name is stored in an Asset (this is part of how we work/our best practices as an automations team) I have however tried hardcoding the email account name to test your advice and I still get the same error
I don’t think the issue lies within my process as the process does work - including the outlook parts - it just only runs on the computer I use to build and develop on, when I move it over to our test or live machines it won’t run and I get the specified folder error.
Did you try to put another mail folder to see if it is an issue with the “Inbox” folder? Do you know if the Windows language is exactly the same in both machines?
And as @ermanoj3101 mentioned, account names can be different from one machine to another, double check in the properties if it is exactly the same account name in both machines (with capital letters etc)
Thanks for your suggestions, I have tried multiple other folders, same error. I have checked the Windows language to the best of my knowledge and everything looks to be exactly the same across both machines.
Ok, it’s a very strange behavior. Did you try other Outlook activities, like a Send Outlook message? If other activities are not working too, it can be an issue with Outlook itself (with .pst file corrupted).