Setting the sender address of email notifications

By default, when you have email notifications set up for alerts or jobs, the Data Studio web console sends email messages with an address in the From field that is generated from the host name or IP address of the system where the Data Studio web console is installed. You can explicitly set the sender address by editing the dswebserver.properties file.

About this task

Some SMTP server configurations require that the address in the From field of email messages be permitted to send messages from the server. If your SMTP server has such a requirement and you cannot authorize the address that the Data Studio web console server uses, you can explicitly set the address that the Data Studio web console puts in the From field of email messages.

Note: The user authentication settings that you make from the Open > Product Setup > Services page do not determine the address that the Data Studio web console uses in the From field of email messages.

Procedure

  1. Stop Data Studio web console.
    • On Linux and UNIX: From the installation directory, run the command stop.sh.
    • On Windows: From the Start menu, click All Programs > IBM Data Studio > IBM Data Studio web console V4.1 > Stop Web Console Server.
  2. Edit the Config/dswebserver.properties file. Change the value of the emailFrom field to the email address from which you want to send alert notifications, or add a emailFrom field if the field does not exist. For example, add the following line to the dswebserver.properties file:
    emailFrom=examplesender@exampledomain.com
  3. Start Data Studio web console.
    • On Linux and UNIX: From the installation directory, run the command start.sh.
    • On Windows: From the Start menu, click All Programs > IBM Data Studio > IBM Data Studio web console V4.1 > Start Web Console Server.

Results

Data Studio web console will send alert notifications from the email address that you specified.

Feedback