How to resolve Send Outlook Mail Message error in PiP mode

Hello,

I am facing challenges while sending Outlook mail message in PiP mode, But the same solution is working fine in main session (User’s System) and sending mail also.
Below error I got in PiP.
Error {“message”:“Send Outlook Mail Message: TryMarshalData timed out.”

It’s generally because When using UiPath’s Picture-in-Picture mode, the application is running in a separate session, and certain interactions with other applications (like Outlook) might be restricted or have limitations due to security and system architecture.

So instead of outlook activity use other Microsoft activity like Microsoft Office 365
As this activity doesn’t rely on direct interaction with the Outlook application and can be more reliable in different execution modes.

Hope this helps

Cheers @nilesh.mahajan

Thanks for reply,
I have tried with Office 365 instead of Outlook, but getting same error. is there any other solution for this?.

Oh
Then will it be fine for you to modify the to be process that can neglect interacting with these sort of applications
Or
If possible try to run them in unattended mode in a separate VM which can avoid this exception

@nilesh.mahajan