Creating and Configuring Email Addresses for Document Import

When you use on-premises OCR, you must create and configure email addresses for each relevant document category in order to import your documents into Continia Document Capture. Document Capture currently supports the following two protocols:

  • Internet Message Access Protocol (IMAP)
  • Exchange Web Services (EWS)

The actual configuration of email addresses depends on which of these protocols you use. Both methods are described below.

Configuring email addresses using IMAP

To configure an email address for document import using IMAP, follow these steps:

  1. Choose the Search icon, enter Document Categories, and then choose the related link.
  2. Open the relevant document category. For example, to open the purchase document category, select the PURCHASE line (not the PURCHASE code itself, as this will open the document journal), and then choose Edit in the action bar.
  3. On the E-Mail FastTab, in the Server Address field, enter the name or IP address of the mail server you want to use.
  4. In Server Port, enter the number of the port through which the connection to the mail server should be established. The IMAP port is usually 993 with an SSL connection and 143 without SSL.
  5. In Username, enter the email address of the account that should be used for the selected document category – for example, invoice@company.com. This will link it to the Document Capture email address for this category.
  6. In Password, enter the password that's associated with the email address entered under Username.
  7. Optional: If you want to have incoming documents automatically deleted from the mail server upon download, enable Delete After Download.
  8. Optional: If you want Document Capture to archive all document-import emails including their attached documents, enable Import and Archive E-Mails. In this way, accountants, auditors, and other users of Document Capture have direct access to the emails.

Configuring email addresses using EWS

Important

Before you can complete the guide below, you must set up EWS following this guide. During the EWS setup process, you'll obtain a client ID, a tenant ID, and either a certificate thumbprint or a client secret value, which must be used when you configure EWS email addresses for document import.

To configure an email address for document import using EWS, follow these steps:

  1. Choose the Search icon, enter Document Categories, and then choose the related link.
  2. Open the document category that you want to set up with the Document Capture service. For example, to open the purchase document category, select the PURCHASE line (not the PURCHASE code itself, as this will open the document journal), and then choose Edit in the action bar.
  3. On the E-Mail FastTab, under E-Mail Protocol, select EWS.
  4. In E-Mail Address, enter the full address of the mailbox you want the service to scan.
  5. In Client ID and Tenant ID, enter the values you copied from the Overview pane in Azure, as described in this guide.
  6. Fill out either Client Secret or Certificate Thumbprint, depending on your choice of credentials.
  7. Repeat the above steps for any additional categories that you want to set up with the Document Capture service.
  8. When you've set up all categories, choose the Search icon, enter Export OCR Configuration Files, and then choose the related link. A dialog box confirms that a number of configuration files have been exported. Select OK to close it.

The Document Capture service is now set up to authenticate with EWS using OAuth 2.0. If authentication fails, an entry is created in the server application event log with information about the cause of the authentication error.

See also

Setting up Exchange Web Services (EWS)