Source AL, 375 lines
src/Layers/W1/BaseApp/System/Exchange/ExchangeWebServicesServer.Codeunit.allines 9 to 24 of 375, Copyright (c) Microsoft Corporation. MIT
codeunit 5321 "Exchange Web Services Server"{ trigger OnRun() begin end; var Service: DotNet ExchangeServiceWrapper; ProdEndpointTxt: Label 'https://outlook.office365.com/EWS/Exchange.asmx', Locked = true; CategoryTxt: Label 'AL EWS Server', Locked = true;#if not CLEAN28 ExpiredTokenErr: Label 'Trying to reconnect. Please close and reopen the add-in. Error from the service: %1', Comment = '%1 = the error message from the service.'; ExpiredTokenTxt: Label 'Expired token.', Locked = true;#endif InvalidCredentialsTxt: Label 'Invalid credentials.', Locked = true;
All 375 lines
Events 3 in 29
Public procedures 23 in 29
| Initialize(AutodiscoveryEmail: Text[250]; ServiceUri: Text; Credentials: DotNet ExchangeCredentials; Rediscover: Boolean): Boolean | 17-29 |
| InitializeAndValidate(AutodiscoveryEmail: Text[250]; var ServiceUri: Text; Credentials: DotNet ExchangeCredentials): Boolean | 17-29 |
| Initialize2010(AutodiscoveryEmail: Text[250]; ServiceUri: Text; Credentials: DotNet ExchangeCredentials; Rediscover: Boolean): Boolean | 17-29 |
| Initialize2010WithUserImpersonation(AutodiscoveryEmail: Text[250]; ServiceUri: Text; Credentials: DotNet ExchangeCredentials; Rediscover: Boolean): Boolean | 17-29 |
| InitializeWithCertificate(ApplicationID: Guid; Thumbprint: Text[40]; AuthenticationEndpoint: Text[250]; ExchangeEndpoint: Text[250]; ResourceUri: Text[250]) | 17-29 |
| ValidCredentials(): Boolean | 17-29 |
All 25 procedures in 17-29
Changes 4 in 28
| InitializeWithOAuthToken(Token: Text; ExchangeEndpoint: Text) | gone after 27 |
| gone |
| GetEmailBody(ItemID: Text[250]): Text | 17-29 |
| marked Pending, tag 28.0: Please use Microsoft Graph API instead e.g `Email - Outlook REST API` |
| EmailHasAttachments(ItemID: Text[250]): Boolean | 17-29 |
| marked Pending, tag 28.0: Please use Microsoft Graph API instead e.g `Email - Outlook REST API` |
| GetEmailAndAttachments(ItemID: Text[250]; var TempExchangeObject: Record "Exchange Object" temporary; Action: Option InitiateSendToOCR,InitiateSendToIncomingDocuments,InitiateSendToWorkFlow,IntiateSendToAttachments; RecRef: RecordRef) | new in 20 |
| marked Pending, tag 28.0: Please use Microsoft Graph API instead e.g `Email - Outlook REST API` |
All 10 changes in 17-29