API - Outlook - GetMessage - Access denied Error [message #151163] |
Fri, 25 February 2022 11:40  |
ReyerdK
Messages: 1 Registered: February 2022
|
|
|
|
Hi everybody,
we are supporting a simple GFI API interface to a GFI Mail Archiver. The last 5 years we had to get the mail subject and mail header for use in an ERP system. The customer now wants to show mail body as well. Every attempt in using the API Outlook GetMessage to get the body of a archived mail ends up in a "access denied" error. We have tested with different accounts and all roles with no success.
Is there a special configuration or requirement for extracting the body of an email through the GetMessage function?
Using:
Role: Admin & full access
API-Service: services/outlook.asmx GetMessage(string connectionId, int messageId)
Version: 2015 Build: 20151222
Protocol: http (no ssl)
error:
System.Web.Services.Protocols.SoapException: Access denied.
At Marc.WebServices.Outlook.GetMessage(String connectionId, Int32 messageId)
We have success in getting the API-Service services/outlook.asmx GetInternetHeader(string connectionId, int messageId) to work. It has the same parameters. I don't see why GetMessage refuses the access. Any Ideas?
Any suggestion would be helpful. Thank you.
Konstantin
|
|
|
|