ndMail uses Exchange Web Services (EWS) to interact with user email messages and folders.
NOTE: For more information, see https://msdn.microsoft.com/en-us/library/office/jj900168(v=exchg.150).aspx.
Enable Exchange Web Services
Exchange Web Services (EWS) is a foundational access method in the Exchange architecture. Microsoft builds both the Outlook client and the Outlook Web App (OWA) on EWS. To view how EWS fits into the Exchange environment, see the architectural diagram at https://msdn.microsoft.com/en-us/library/office/dn595100(v=exchg.150).aspx.
ndMail is a cloud-based service. EWS is enabled on the Exchange Server by default. If Exchange is running on-premise, then port 443 is required to allow ndMail to access it.
NOTE: For more information, see https://technet.microsoft.com/en-us/library/bb331973(v=exchg.160).aspx.
Service Application Access
Exchange integration for ndMail is built and deployed as a service application. To access the service application, you need to do the following:
- Create a service account. ndMail uses the basic authentication when creating the service account to EWS with an impersonation role assigned, allowing it to impersonate Exchange users to read folders and emails.
- Grant the service account a user impersonation role. For information on how to add impersonation role for a service account, see Configuring impersonation.
Administrators can manage EWS access controls using Exchange Management Shell and the following cmdlets:
NOTE: For more information, see https://msdn.microsoft.com/en-us/library/office/jj900165(v=exchg.150).aspx#Anchor_3.