Hi all
I wondered if anyone could help with an issue I’m having forwarding emails. This is my process - the first part picks up the newest email and puts it into a variable:
The last part of my process is, depending on if certain conditions are met, it forwards the email (I added the Use Foreground activity after I took this screenshot so I added it in, in case you wondered why it looked out of place):
I run this process through the Orchestrator, so on an unattended bot. When running through Studio, it works fine everytime. The error I get on the unattended is this:
Forward email: Access to the path ‘C:\Users\Admin\AppData\Local\Temp\1’ is denied
I searched online and found that a reason for this could be that the folder it’s trying to access is read-only, however when I unset it to read-only, click apply and OK, then check again, it’s reset to read-only again. Just a note, the robot does have access to this file.
I’ve had times when it’s forwarded the email 3 times in one run and then on the 4th time, that error has occurred, but I’ve also had times when it hasn’t worked at all and went straight to the error. It’s strange that sometimes it does work but mostly it doesn’t work. Has anyone else had this happen to them? Is there a way to change the folder to read-only, is there a way to change the folder in UiPath so it goes to a folder other than Temp\1 ? Or does anyone know another way to fix it?