How to set SMTP and Send Email details in TIBCO Spotfire Automation Services

How to set SMTP and Send Email details in TIBCO Spotfire Automation Services

book

Article ID: KB0071861

calendar_today

Updated On:

Products Versions
Spotfire Automation Services 7.5 and Above

Description

Beginning with version 7.5, the Automation Services configuration can be modified in the Spotfire.Dxp.Worker.Automation.config. The following are the steps to update the SMTP and send email details.

Issue/Introduction

This article describes how to setup SMTP and send email details in TIBCO Spotfire Automation Services.

Environment

All

Resolution

Steps to update the configuration

1). On the Spotfire Server machine, launch a command prompt as Administrator.

2). Export the Automation Services Configuration using the "export-service-config" command. For additional information about this command, review the Spotfire Server Installation and Configuration manual.

Here is an example: config export-service-config --capability=AUTOMATION_SERVICES --deployment-area=Production

For 10.2 and below, the exported configuration files will be saved under \tomcat\bin\config\root folder
For 10.3 and above, the exported configuration files will be saved under \tomcat\spotfire-bin\config\root folder

3). Open the Spotfire.Dxp.Worker.Automation.config file in a text editor.

4). Search for Spotfire.Automation.SendMail.SMTPHost parameter and update the desired parameter values, e.g. the SMTP server name and also the "from" email address.

5). Save the file. If you get a prompt to override the existing file, select "Yes.

6). Import the modified configuration using the "import-service-config" command.

7). Enter the "config-name" value relevant to the changes made. This is the configuration that needs to be used for Automation service. For additional information about this command, review the Spotfire Server Installation and Configuration manual.

8). Here is an example: config import-service-config --config-name="smtp details" .

9). Launch the Spotfire Admin UI and browse to "Nodes & Services".

10). Edit the Automation  Service to use to the updated configuration.

11). Look for the "config-name" value that you entered while importing the service configuration and update it to use that configuration.