Hi All,
I am trying to read email from outlook using read email action before that i am reading data from excel file where i have a list of subjects first i am creating a connection to outlook then looping the data table to get the subject and then using search filter to filter the email with subject then i am looping the mails and using read email but in read email stage i am getting below error
hi all i am getting below error while reading email from outlookSystem.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Redemption.IRDOMail'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D85047E0-7767-4D48-86B6-28BDB5728ABB}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at WDG.Automation.Language.RuntimeProvider.<RunMoveNextValidateState>d__29.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WDG.Automation.Language.RuntimeProvider.<TryStepOver>d__24.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WDG.Automation.Debugger.DebugState.<StepOver>d__72.MoveNext()Can anyone please help.
Regards,
Divas
------------------------------
Divas Gupta
------------------------------