MxmsSettings.json

From MXMS Wiki
Revision as of 06:04, 31 March 2026 by Bjorn (talk | contribs)
Jump to navigationJump to search
An example mxmsSettings.json file open in Visual Studio
An example mxmsSettings.json file open in Visual Studio

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.

Mail server settings

Connection string to the database

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"
}