Configuring an SMTP Server
- Last Updated: April 15, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
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:
-
Log into the Admin Interface.
-
Click the Groups icon on the left tree menu.
-
Click the name of the group that you want to configure SMTP for either from the menu tree or from the Summary tab.
-
In the SMTP Relay field, enter the hostname for your SMTP server.
-
In the SMTP Timeout field, enter the time (in seconds) after which requests will time out.
-
Click OK.
Changing any SMTP settings is a hot operation; the server does not need to restart to reflect your changes.