Hi there,
I’m having an issue with some Mail items that are send to my inbox. A couple of times during the week we receive messages like “undeliverable message:” or “Read:” that are no normal Mail Messages, but some kind of system message from O365.
I am able to identify these emails but there is no way to move or delete them. I tried every kind of activity but everytime im getting the following errors:
15:54:05.1381 Info {“message”:“Beginn Bearbeitung WF: GetOutlookEmail”,“level”:“Information”,“logType”:“User”,“timeStamp”:“2022-05-12T15:54:05.138199+02:00”
15:54:05.7391 Error {“message”:“System Exception: at CallSite.Target(Closure , CallSite , Object )\r\n at Outlook.Mail.MarkAsRead.Execute(CodeActivityContext context)\r\n at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)”,“level”:“Error”,“logType”:“User”,“timeStamp”:“2022-05-12T15:54:05.7391261+02:00”,
15:54:05.7391 Error {“message”:“Throw: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Outlook.MailItem’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063034-0000-0000-C000-000000000046}’ failed due to the following error: Schnittstelle nicht unterstützt (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2022-05-12T15:54:05.7411211+02:00”
Do you have any advice on how i could delete these mails?