Skip to content

Configure Email Server

TestGen can be configured to use an email server that implements the Simple Mail Transfer Protocol (SMTP), like Amazon Simple Email Service (SES), Azure Communication Services, or Google Workspace SMTP Relay Service.

This enables users to set up email notifications for profiling runs, test runs, monitor anomalies, and quality scorecards.

Prerequisites

Configure SMTP credentials

  1. Navigate to the directory that contains the docker-compose.yml file for TestGen.

    • If the instance was installed using dk-installer.exe, the file can be located under "AppData\Local\DataKitchenApps".
    • If the instance was installed using dk-installer, the file can be located in the folder from which the Python installer was executed.
  2. Add the following lines under the x-common-variables section.

    x-common-variables: &common-variables
     TG_SMTP_ENDPOINT: <host>
     TG_SMTP_PORT: <port>
     TG_SMTP_USERNAME: <username>
     TG_SMTP_PASSWORD: <password>
     TG_EMAIL_FROM_ADDRESS: <sender email address>
    
  3. Restart the application.

    docker compose up -d --wait