Facing issue with the “Get Outlook Mail Messages ” activity.
outlook emails is needed for a process that is being ran multiple times daily by my support and it throws the “specified folder does not exist ” error.
Increase @vivaanmehta Timeout value to min 60 and make sure specied folder exists
- Check if the outlook profile is restricted by the company
- If it is shared mail box check if mailbox account is used in get outlook mail messages activity
- Check if the folder name is correct and is same
Cheers
its not an issue with folder @ashokkarale its working fine for sometimes and not working some times
Ohh ok.
In that case I would suggest to have Outlook open at least 10-15 seconds prior to using any Outlook activity. You can test by adding static delay of 10-15 seconds.
Thanks,
Ashok
Hi @vivaanmehta ,
Please follow below steps
- Kill Process: Ensures any running instances of Outlook are terminated.
- Start Process: Opens a new instance of the Outlook application.
- Delay: Waits for 30 seconds to ensure Outlook is fully loaded. Adjust this duration as needed.
- Retry Scope: Attempts to get IMAP/outlook mail messages with a retry mechanism. It retries up to 3 times with a 10-second interval between retries.
- Condition: Checks if
mailMessages
is notNothing
to confirm that the emails have been retrieved. - Log Message: Logs the subject of each retrieved email for verification
Regards
Sandy
Have you gone through the thread provided above? @vivaanmehta
Regards
i have followed similar approach @vrdabberu , but that a approach that work through automation and in the post it says wait time is 1 hr
yes i have tried the same its taking more time @sandyarpa767 , @vrdabberu
Yeah he said to wait for 1hr manaully and then to run the bot. @sandyarpa767
Regards
yes i have a schedule which tries to take the input from the emails basically , so i am looking for a quick turnaround solution
Hi @vivaanmehta
Ensure that you are using the latest version of the UiPath.Mail.Activities package. Try updating the package to the latest version and keep the runtime rule as lowest as applicable and give a try with that.
Regards
thaks for solutions @vrdabberu , @ashokkarale , @sandyarpa767 & @Anil_G will try to go with approaches u suggested
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.