MxmsSettings.json: Difference between revisions
From MXMS Wiki
Jump to navigationJump to search
| Line 20: | Line 20: | ||
== Mail server settings == | == Mail server settings == | ||
MXMS requires a valid SMTP server to send various system mails and to send mails using the built-in [[MailSender|mail sender]] | 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 [[MailSender|mail sender]] system. Currently only a standard SMTP mailserver is supported. | ||
== Connection string to the database == | == Connection string to the database == | ||
Revision as of 06:07, 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.