Acitivate Outlook
Hi, Community.
Hope you were fine.
I have some issues while trying to automate Outlook.
The first one is that when it receives an email, it start executing more automation codes but they are so large and the Outlook application get freeze in a while. It doesn't refresh emails, an so other things. I guess that is because of the automation that the solution is running. My question is how to make the Outlook active again because the event of NewMail is not triggered even if a new email gets in. Or there is a way to read mails even if Outlook is frozen?
Another fact is that when sending an email sometimes it appears this error "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154", not with the same serial but similar. I have added the Microsoft interop references directly to the solution which uses Microsoft Outlook Connector and it didn't appear anymore but when using additional scripts that requires Microsoft Office Interop Outlook there is a conflict. How could you solve that problem?
Thanks for your support in advance.