Hi everybody,
I ‘trying to open an emailsession for Outlook Exchange in a service with EmailStartOutlookSession(“Outlook”)
but always get the error message :
Unable to open the session with the 'Outlook' profile
Error code: 520045
Level: non-fatal error
System error code: -2147221246
System error message:
Invalid window handle
The 'Outlook' profile exists and in runtime my code works.
The service is connected to the right user and has administrator rights.
Does anybody has experience with reading outlook mails in a service ?