Send Exchange Mail Message: The operation can't be performed because the item is out of date. Reload the item and try again

Hi I hope someone can help.

When I try and send an email via exchange (using UiPath.Mail.Exchange.Activities.SendExchangeMail) I get the following error

“Send Exchange Mail Message: The operation can’t be performed because the item is out of date. Reload the item and try again.”

This only seems to happen when I try and send an email with an attachment that’s more than say 1.5MB.

We thought it could be some infrastructure configuration that’s limiting the attachment size but we can successfully send large attachments with PowerShell scripts.

I’ve seen a couple of other posts with similar errors but no solution.

Please can someone help.

Thanks

It seems we have to increase the timeout so that it can wait and process it. please refer the below thread. thanks.

I’ve tried to increase the timeout to 90000 but it doesn’t fix the issue.