> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NetServer Messaging element

> NetServer configuration values for SuperOffice.CRM.Messaging and the SoMessaging.dll.

Configuration values for `SuperOffice.CRM.Messaging` and the *SoMessaging.dll*.

```XML theme={null}
<Messaging>
  <add key="MessagingSoAuthentication" value="" />
  <add key="MessagingSoUser" value="" />
  <add key="MessagingSoPassword" value="" />
  <add key="BrokerBroadcastAddress" value="" />
</Messaging>
```

| Name                           | Description                                                                                              | Default                      |
| ------------------------------ | -------------------------------------------------------------------------------------------------------- | ---------------------------- |
| BrokerAutoAliveMessage         | Should the message broker automatically send alive messages?                                             | true                         |
| BrokerAutoAliveMessageInterval | Interval for the message broker to send alive messages.                                                  | 60 (sec)                     |
| BrokerBroadcastAddress         | Broadcast address for the message broker to send to other machines.                                      | 255.255.255.255              |
| BrokerBroadcastPort            | The port the message broker is sending messages on to other machines.                                    | port 19107                   |
| BrokerExternalListeningAddress | Address the message broker is listening on for external messages.                                        | 0.0.0.0 (any IP address)     |
| BrokerExternalListeningPort    | The port the message broker is listening for messages from other machines.                               | port 19107                   |
| BrokerInternalListeningAddress | Address the message broker is listening on for internal messages.                                        | 127.0.0.1 (loopback adapter) |
| BrokerInternalListeningPort    | The port the message broker is listening for messages from internal clients.                             | port 19108                   |
| ClientAutoAliveMessage         | Should the message client automatically send alive messages?                                             | true                         |
| ClientAutoAliveMessageInterval | Interval for the message client to send alive messages.                                                  | 60 (sec)                     |
| ClientAutoCreateBroker         | Should the message client automatically create a local message broker if one does not exist?             | true                         |
| ClientBroadcastAddress         | Address their message clients (normally sending messages through the message broker) is broadcasting on. | 127.0.0.1 (loopback adapter) |
| ClientBroadcastPort            | The port the message client is broadcasting messages on (normally to the message broker).                | port 19108                   |
| ClientListeningAddress         | Address the message clients (normally receiving messages from the message broker) is listening on.       | 0.0.0.0 (any IP address)     |
| ClientListeningPortEnd         | The end of the range clients listen to messages on (normally from the message broker).                   | 19999                        |
| ClientListeningPortStart       | The start of the range clients listen to messages on (normally from the message broker).                 | 19109                        |
| MessagingSoAuthentication      | False will indicate the process being authenticated with NetServer or Anonymous user.                    |                              |
| MessagingSoPassword            | Password for MessagingSoUser.                                                                            |                              |
| MessagingSoUser                | SuperOffice user to authenticate with.                                                                   |                              |

See the [NetServer Core reference][1] for details about handling this programmatically.

[1]: https://github.com/SuperOfficeDocs/superoffice-docs/blob/main/docs/en/api/reference/netserver/core/SuperOffice.Configuration.ConfigFile.Messaging.yml


## Related topics

- [NetServer Reporter element](/en/onsite/web-config/reporter.md)
- [NetServer Services element](/en/onsite/web-config/services.md)
- [NetServer Scripting element](/en/onsite/web-config/scripting.md)
- [NetServer Infrastructure element](/en/onsite/web-config/infrastructure.md)
- [NetServer Webhooks element](/en/onsite/web-config/webhooks.md)
- [NetServer Factory element](/en/onsite/web-config/factory.md)
