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 that you want to configure SMTP for either from the menu tree or from the Group Summary page.

  4. Click the Configure tab.

  5. In the smtp relay field, enter the hostname for your SMTP server.

  6. In the smtp timeout field, enter the time (in seconds) after which requests will time out.

  7. Click ok.

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