To enable alert emails, you'll need to set up a relay host for SMTP traffic.
Estimated reading time: 1 minute

ThoughtSpot uses emails for sending critical notifications to ThoughtSpot Support. A relay host for SMTP traffic routes the alert and notification emails coming from ThoughtSpot through an SMTP email server.

Set up the relay Host

To set up a relay host:

  1. Log in to the Linux shell using SSH.
  2. Issue the setup command, providing the IP address of the relay host:

     $ tscli smtp set-relayhost <IP_address>
  3. Verify your settings:

     $ tscli smtp show-relayhost
  4. Verify that email is working.

Configure an email to receive alerts

ThoughtSpot sends alerts to the email address specified during installation. If no email address was entered, no alerts are sent. You should add an email to receive alerts by issuing:

$ tscli monitoring set-config --email <your_email>

To send to multiple emails, provide a comma-separated list with no spaces.

Verify the relay with an email

Check if the email settings are working properly by using this procedure.

  1. Log in to the Linux shell using SSH.
  2. Try sending an email to yourself by issuing:

    $ echo | mail -s Hello <your_email>
  3. If you receive the email at the address(es) you supplied, email is working correctly.