Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Getting Error While Reading email from outlook

    Posted Wed July 06, 2022 02:48 AM
    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 outlook
    System.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
    ------------------------------


  • 2.  RE: Getting Error While Reading email from outlook

    Posted Thu July 07, 2022 03:37 PM
    The command you are using requires Outlook desktop application to be installed: https://www.ibm.com/docs/en/rpa/21.0?topic=email-connect-outlook-server

    ------------------------------
    Joba Diniz
    Product Manager
    IBM
    ------------------------------