Skip to main content Link Search Menu Expand Document (external link)

Configuring Emails in DocIntel

DocIntel allows you to configure email settings for various purposes such as sending system alerts, password resets, and other notifications to users. In this guide, we will discuss the configuration of email settings in DocIntel.

Email Settings

DocIntel provides an multiple settings described below

  • NoReplyName: The name of the sender for emails.
  • NoReplyEmail: The email address of the sender for emails.
  • SMTPServer: The address of the SMTP server.
  • SMTPPort: The port number used by the SMTP server.
  • SMTPUser: The username used to authenticate with the SMTP server (if required).
  • SMTPPassword: The password used to authenticate with the SMTP server (if required).
  • EmailEnabled: A boolean value indicating whether email functionality is enabled in DocIntel.
  • CheckCertificateRevocation: A boolean value indicating whether certificate revocation should be checked when sending emails.

Configuration

To configure email settings, you will need to update the values of the Email in the appsettings.json file located in the root folder of your DocIntel installation. Here’s an example of how you can configure the email settings:

"Email": {
    "NoReplyName": "DocIntel Notifications",
    "NoReplyEmail": "notifications@docintel.com",
    "SMTPServer": "smtp.gmail.com",
    "SMTPPort": 587,
    "SMTPUser": "your_email@gmail.com",
    "SMTPPassword": "your_email_password",
    "EmailEnabled": true,
    "CheckCertificateRevocation": true
}

Note that the example above is using Gmail’s SMTP server. Make sure to update the SMTPServer, SMTPUser, and SMTPPassword properties with the appropriate values for your SMTP server.

Testing Email Settings

At startup, DocIntel will run pre-flight checks that will attempt to connect and authenticate to your STMP server.

---- Running pre-flight checks for emails...
[OK] DocIntel will use the SMTP server located at 'smtp.gmail.com:587'.
[OK] DocIntel will log in on SMTP with 'your_email@gmail.com' username.
[OK] SMTP server smtp.gmail.com is reachable on port 587.
[OK] DocIntel successfully connected to the SMTP Server.