Skip to main content

Administrating MarkLogic Server

Configuring an SMTP Server

The installation process configures an SMTP server based on the environment at installation time. A single SMTP server is configured for all of the hosts in a group. The SMTP configuration is used when applications use xdmp.email() (JavaScript) or xdmp:email() (XQuery).

To change the SMTP server or the SMTP timeout for the system (the time after which SMTP requests fail with an error), follow these steps:

  1. Log into the Admin Interface.

  2. Click the Groups icon on the left tree menu.

  3. Click the name of the group you want to configure SMTP for either from the menu tree or from the Summary tab.

  4. In the Smtp Relay field, enter the hostname for your SMTP server.

  5. In the Smtp Timeout field, enter the time (in seconds) after which requests will time out.

  6. Click OK.

Changing any SMTP settings is a hot operation; the server does not need to restart to reflect your changes.