MailKit
MailKit is a cross-platform .NET library for IMAP, POP3, and SMTP. The main reason for using the MailKit library is a wider range of supported protocols, certificates, and improved speed. MailKit is used by SuperOffice NetServer, for example, Inbox in the Sales client. MailKit is enabled for CRM Online from version 8.0 (R23) and can be enabled manually on Onsite from version SuperOffice 8.0 SR3.How to enable MailKit
Online: On by default - cannot be disabled/enabled Onsite: On by default on 8.1- Open the web.config file for your site.
- Replace the value for Mail Reader and Sender to “MailKit”.
- Save web.config.
- Recycle the application pool.
Number-of-days to download
SuperOffice Inbox downloads emails from your mailbox and stores them in the SuperOffice database. Online: Submit a support request to your local support team. They can change the value for your tenant. Onsite: If you want to change how many days to past we should download and store emails, you can add the following key in the Mail section of the NetServer configuration.How to troubleshoot MailKit
Connection and authentication
OAuth 2.0
Requirements:- CRM Online or Onsite customers who use SuperOffice G9 9.2 R10 or newer
- Microsoft 365 (Microsoft® Exchange Online)
- MX Record pointing to the Microsoft® Exchange Online server
-
Add a new sectionGroup called
FeatureToggleswith state: -
Add a FeatureToggles section, with state and
key="NewAuthentication":
- Log in to your Microsoft email account in SuperOffice Inbox Fill inn your Microsoft365 ‘User Princpal Name’ (UPN) in the field “Email account”.
- Click Next. If we recognize the UPN as a Microsoft 365 email account, we redirect you to Microsoft for authentication.
- Authenticate towards Microsoft and complete the login You will then be taken to the SuperOffice Inbox. Your email account is now set up to use OAuth 2.0 authentication
What is UPN (User Principal Name)?
In Windows Active Directory, a User Principal Name (UPN) is the name of a system user in an email address format. A UPN (for example:john.doe@domain.com) consists of the user name (logon name), separator (the @ symbol), and domain name (UPN suffix).
A UPN is not the same as an email address. Sometimes, a UPN can match a user’s email address, but this is not a general rule.