Sample configuration for sending via SMTP using OAuth2 authentication in KIC
Issue
How to configure email sending via SMTP using OAuth2 authentication in KIC
Solution
See the References at the bottom of the page for related documentation and information.
Below, you can find screenshots for a sample configuration for sending out emails via SMTP using OAuth 2 authentication in KIC.
It's recommended to have a separate Application on Azure for this purpose.
KIC only supports the Authorization Code Grant for this purpose.
This sample configuration uses the "Authorization Code Grant" with the "Mobile and desktop applications" platform.
General Azure settings
KIC settings
Click on "Configure SMTP Outbound" in your Connection configuration window.
Activate the checkbox "Override Kofax Message Connector SMTP Outbound Configuration" and the checkbox "Use OAuth authorization".
Configure the user you want to use for this.
Click on "Configure OAuth".
Click on "Manage" to check and modify the Authorization Server
Make sure the "SMTP Outbound scopes" field contains the following value:
https://outlook.office.com/SMTP.Send SMTP.Send offline_access openid profile
Click OK and enter your "Tenant ID", "Client ID" and "Redirect URI"
Now you should be able to Authorize this user and Test the connection.
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax Import Connector | 2.10 | FP3 |
References
- Chapter "Configure SMTP Outbound" in the KIC online documentation
- Chapter "Permissions for OAuth" in the KIC online documentation
- SMTP Settings taken from Microsoft documentation
- How to enable or disable SMTP Auth on Exchange Online
Article # 3050041