GetOutlook Message / Move Outlook Message unstable

Hello all,

I am experiencing a chaotic behavior from the Get Outlook message and Move Outlook message activities.

The process executes the next actions :

  1. Scan of a subfolder (Inbox\subfolder 1)
  2. Send a mail,
  3. Move it from the Sent Items to another subfolder (Inbox\subfolder 2)
  4. The deletes the mail previously scanned (mail within the subfolder 1)

Sometimes, at what seems to be random instants, either the get Outlook message or the move Outlook message raise the error “The specified folder does not exist” even though it does.

In debugging when such error happen, a simple “Retry” let the activity working normally.

Do you guys know any fix for such behavior ?

Thanks in advance :slight_smile:

Studio version : 2021.10.5 (unauthorized to update)
Mail.Activities : 1.20.0 (unauthorized to update)
System.Activities : 23.4.3 (unauthorized to update)

I even face this issue, but somehow for the time being I have resolved it by giving a longer timeout.

Thanks for your answer !

The increased the timeout for the get mail and the move mail activities ?
Also which version of Mail.Activities are you using ?

Yes for both activities try increasing the timeout.

1.9.6 version of mail activity I am using.

I just realized there is no timeout property for move outlook Message activity…

If anyone run in this issues in the future :

The cause of the errors are the connection loss between the terminal outlook application and the outlook local server.

In order to maintain the connection, you should let a dummy foreground instance of the Outlook application run while the the robot is executing (or at least while the robot have to send mails). It makes all Outlook related activities (send, get, delete & move) much more reliable.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.