Currently, I am working on a feature where users can select multiple product links and have the option to email those links to someone. The functionality works perfectly fine on my local machine, but when deployed, it throws an exception as shown below:
Exception Message : System.Runtime.InteropServices.COMException (0x80010001): Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)).
I have explored various solutions such as this one and looked into some code samples here, but unfortunately, none of them resolved the issue.
Before attempting to use C# code to open a new mail window, I also tried implementing it in JavaScript, but encountered problems there as well (here).
I would greatly appreciate any help with this matter!