Configuring E-Mail Notifications

Squore allows users to configure automatic sending of e-mail notifications at the end of an analysis. In order to use this feature, Squore Server must be configured to communicate with an SMTP server.

Before you start, ensure that the following details are available:

In order to configure the SMTP server integration:

  1. Edit <INSTALLDIR>/server/standalone/configuration/standalone.xml, find the smtp-server element, which by default looks like this:

    <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  2. Complete the element to add in the username and password for the smtp server, and optionally turn on ssl:

    <smtp-server ssl="true" outbound-socket-binding-ref="mail-smtp">
        <login name="username" password="password"/>
    </smtp-server>
  3. Find the outbound-socket-binding element with the name attribute mail-smtp and edit the remote-destination sub-element as needed:

    <outbound-socket-binding name="mail-smtp">
        <remote-destination host="localhost" port="25"/>
    </outbound-socket-binding>
  4. Start Squore Server.

  5. Log in as administrator and go to Administration > System.

  6. Set the value of the FROM e-mail address for notifications, as well as the Squore Server URL to be used in body of the e-mails, for example squore@domain.com and http://localhost:8180/.

Note

If you need more information about SMTP server setup in JBoss, refer to https://docs.jboss.org/author/display/AS71/Mail+Subsystem