Send Outlook Mail Message: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Outlook.Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063001-0000-0000-C000-000000000046}’ failed due to the following error: Interface not registered (0x80040155).
I have checked the posts related to this error but unfortunately nothing help.
Check few think
1.Check that the Outlook desktop application is properly installed and licensed, as the UiPath activity cannot work with the web or store versions
2.Restart your Outlook and UiPath Studio. In some cases, closing and reopening both applications can clear up COM registration issues
3.Uninstall and reinstall the UiPath.Mail.Activities package using the Manage Packages feature within UiPath Studio. After reinstalling, restart Studio.
4.Try repairing your Microsoft Office installation. Go to “Programs and Features,” select your Office install, choose “Modify,” then “Repair Online.” This often restores missing or broken registry settings related to Outlook COM interop