Send IBM Notes Mail Message: Unable to cast object of type 'System.__ComObject' to type 'Domino.NotesSession'

When I used UiPath.Mail.Activities, it showed Send IBM Notes Mail Message: Unable to cast object of type ‘System.__ComObject’ to type ‘Domino.NotesSession’.

But when I used Windows-legacy before, I didn’t have this problem.

I’m using UiPath Studio 2024.2.1

UiPath.Mail.Activities is v1.22.2

Notes is 11 Release11.0.1FP5 February 18, 2022

Can anyone teach me how to troubleshoot this problem?

Thanks

@01m5rpa

Welcome to the community

Windows compatibility works on .net 5

Cheers

Thank you for your helpful information.

I’m a bit confused because you mentioned that Windows compatibility works on .NET 5, but the activity notes specify that this activity is not available in projects using .NET 5.

Does this mean that if I use “Windows” instead of “Windows-Legacy,” I won’t be able to use the “Send IBM Notes Mail Message” activity?

@01m5rpa

Yes

that means activity is not yet migrated to windows

cheers

1 Like

I originally wanted to choose you as the answer, but I found that ‘UiPath.Mail.Activities’ has recently been updated and released.

So I tried to update to v1.23.0, but I found that it encountered a new error message as follows:

Send IBM Notes Mail Message: Could not load file or assembly ‘UiPath.CoreIpc, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

Get IBM Notes Mail Messages: Could not load file or assembly ‘UiPath.CoreIpc, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

Then, I manually updated the UiPath.coreIpc package to ‘UiPath.CoreIpc, Version=2.5.0.0’.

After that, it showed
Send IBM Notes Mail Message: Pipe is broken.

Is the UiPath integration with IBM Lotus not yet completed at the moment?

@01m5rpa

Can you shoe the complete exception from locals panel…also check event viewer logs when exception occurs

cheers

When I update UiPath.Mail.Activities to v1.23.0
I try to send a Notes Mail, I get the Output as below PIC.

error1

Then I install(update) UiPath.CoreIpc to v2.5
I try to send a Notes Mail, I get the another Output as below PIC.
error2