Email Configuration
You can send Incorta Dashboards, or schedule an Incorta Dashboard to be sent if you have an SMTP server installed and configured for the Incorta environment.
There are two steps to configuring the SMTP server:
- Verify the SMTP server installation
- Update the server properties with the properties file, or by updating individual properties.
After configuring the server you can send dashboards, or schedule dashboards to be sent using email.
Verify the SMTP Server Configuration
- Verify the current email server properties.
- Navigate to Incorta home:
cd <path to incorta_home>
. - Shut down the Incorta server if you are using the embedded database:
./stop.sh
. - Navigate to the tmt directory:
cd tmt
. - List the tenants:
./tmt.sh -clnm <CLUSTER_NAME> -l
. The response lists the current tenants. - Run the following command to check the email values for a specific tenant:
./tmt.sh -clnm <CLUSTER_NAME> -lc <tenant name>
. The response lists the current email values:mail.smtp.auth
.true
mail.smtp.host
. Your SMTP server addressmail.smtp.port
. The port number of the SMTP servermail.smtp.socketFactory.class
.javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.port
.465
auth.forgot.password
. The email password for the Incorta administratorauth.forgot.password.email
The email address of the Incorta administrator
- Update the tenant email properties.
Update the tenant properties using one of the following methods:
- Modify the properties in a file and upload the file to Incorta
- Update the properties individually
Update Properties Using a Properties File
To update the email related properties using a properties file:
- Edit a file, such as the company_email.properties file with the appropriate values.
- Place the property file into the
<incorta home>/tmt
folder. - Run the following command to update the tenant properties:
./tmt.sh -u <tenant name> file <filename>
. - Restart Incorta server to see the updated properties.
Update Properties Individually
Use the following commands to to update the properties individually:
./tmt.sh -clnm <CLUSTER_NAME> -u <tenant name> <property name> <value>./tmt.sh -clnm <CLUSTER_NAME> -u demo mail.smtp.host relay.music.com./tmt.sh -clnm <CLUSTER_NAME> -u demo mail.smtp.port 25./tmt.sh -clnm <CLUSTER_NAME> -u demo auth.forgot.password.email bob_dylan@music.com./tmt.sh -clnm <CLUSTER_NAME> -u demo auth.forgot.password <put password here>./tmt.sh -clnm <CLUSTER_NAME> -u demo mail.smtp.auth true
Send or Schedule a Dashboard Using Email
When your email server is properly configured, you can email Dashboards or schedule Dashboards to be sent.
To Send a Dashboard:
- Navigate to the dashboard to send or schedule.
- Select Send to specify the names or groups.
You can add an email address in the Send Dashboard window. The recipient does not have to be an Incorta user.
Change the Email Exchange Server Protocol to EWS
SMTP is the default email protocol for the Incorta Direct Data Platform email server. Alternately, you can choose the Microsoft Exchange Web Services (EWS) as the email protocol for sharing and scheduling dashboards. The following steps anticipate that you have already installed an SMTP mail protocol.
Changing the email server protocol requires replacing the current email protocol properties SMTP with EWS and restarting the Incorta server. You must stop the Incorta server if you are using Derby (embedded) as your selected database.
- Navigate to the
INSTALLATION_PATH/directory
. - Stop the server:
./stop.sh
. - Navigate to the tmt folder:
cd <INSTALLATION_PATH>/tmt
. - To list the current tenant configurations, type
./tmt.sh -clnm <CLUSTER_NAME> -lc <Tenant_Name>.
- Run the following commands to update the tenant email exchange server configuration properties. Replace EWS with SMTP to use EWS:
./tmt.sh -clnm <CLUSTER_NAME> -u <TENANT_NAME> mail.protocol ews
./tmt.sh -clnm <CLUSTER_NAME> -u <TENANT_NAME> mail.ews.url <EWS endpoint URL>
- Navigate to the INSTALLATION_PATH/ and start the Incorta server:
./start.sh
.
Amazon Simple Email Service (SES)
Some SMTP email solutions such as Amazon SES require username/password pairs.
Starting with 4.6 you can configure the SMTP host to use a Sender’s Username Authentication.
To enable this option as default tenant configuration in the CMC, follow these steps:
- In the navigation bar, select Clusters.
- In the cluster list, select a Cluster name.
- In the canvas tabs, select Cluster Configurations.
- In the panel tabs, select Default Tenant Configurations.
- In the left pane, select Email.
- In the right pane, toggle Sender’s Username Auth to enable.
- In System Email Username, enter the SMTP username.
- Select Save.
To enable this option for a specific tenant configuration in the CMC:
- In the navigation bar, select Clusters.
- In the cluster list, select a Cluster name.
- In the canvas tabs, select the Tenants tab.
- In the Tenant list, for the given tenant, select Configure.
- In the left pane, select Email.
- In the right pane, toggle Sender’s Username Auth to enable.
- In System Email Username, enter the SMTP username.
- Select Save.