MxmsSettings.json: Difference between revisions
| Line 24: | Line 24: | ||
Provide a valid DNS name or IP address of the SMTP server to be used. | Provide a valid DNS name or IP address of the SMTP server to be used. | ||
=== Port === | === Port === | ||
If the SMTP server uses a port other than the default port a port can be provided | |||
=== Username === | === Username === | ||
=== Password === | === Password === | ||
Revision as of 06:09, 31 March 2026

To provide a flexible and scalable environment, we use JSON (JavaScript Object Notation) for all system settings and user preferences which change from instance to instance. JSON is a lightweight, text-based data format that is easy for humans to read and write, and easy for machines to parse and generate. By modifying the configuration file, you can customize the behavior of the application without needing to touch the underlying source code.
Example configuration
{
"MailServer": {
"Server": "my.smtp-server",
"From": "my@default_fromaddress.com",
"To": "my@default_toaddress.com",
"Port": 587,
"EnableSsl": true,
"Username": "username@my.smtpserver",
"Password": "password@my.smtpserver"
},
"ConnectionString": "server=localhost;database=my-database.mxms;user id=username;password=password"
}
Mail server settings
MXMS requires a valid SMTP server to send various system mails, e.g. password reset mails or welcome mails and to send mails using the built-in mail sender system. Currently only a standard SMTP mailserver is supported.
Server
Provide a valid DNS name or IP address of the SMTP server to be used.
Port
If the SMTP server uses a port other than the default port a port can be provided