When setting up the configuration of the swNotificationServer, it can be beneficial to test the configuration parameters. You can use the main swNotificationServer executable for testing or we can provide a swTestNotificationServer application which is useful during initial set-up or subsequent modifications. To obtain the tool, contact [email protected].
The swTestNotificationServer tool has an interface where all configuration parameters can be set manually. Alternatively, you can enter the configuration in a swNotificationServer.ini and make sure that it is placed in the same location as the swTestNotificationServer executable.
Each field in the test notification GUI has a corresponding entry in the swNotificationServer.ini file. They are described more in-depth in Configuring the SystemWeaver Notification Server:
swTestNotificationServer Settings | Entry in swNotificationServer.ini File | |
---|---|---|
SystemWeaver Server | Server Location | SystemWeaverServerLocation |
Port | SystemWeaverServerPort | |
Login Name | SystemWeaverLoginName | |
Password | SystemWeaverPassword | |
Mail Server | Server Name | MailServerName |
Port | MailServerPort | |
Login Name | MailServerLoginName | |
Password | MailServerLoginPassword | |
From Name | MailServerFromName | |
From Address | MailServerFromAddress | |
- | MailServerReplyToName | |
- | MailServerReplyToAddress | |
Use TLS | UseTLS | |
(hard-coded) | ConfigMessage |
Example Configuration
SystemWeaverServerLocation=sys7 SystemWeaverServerPort=1345 SystemWeaverLoginName=system SystemWeaverPassword=xxxxx MailServerName=smtp.office365.com MailServerPort=587 [email protected] MailServerLoginPassword=xxxxx MailServerFromName= [email protected] MailServerReplyToName= MailServerReplyToAddress= ConfigMessage=Do not reply to this message. UseTLS=1_2
An example configuration seen in the swTestNotificationServer GUI.
- Once all configuration settings have been made, click Send Test Message.
- Enter a To address to send the test message to.
- Click OK. A successful email transfer should return the following status message:
The default notification message will look something like this, when arrived and opened in an email reader:
Note that the email server (MS Outlook) replaces the given From: name with the name of the used email account.
Using the Main swNotificationServer Executable
If you are running the main swNotificationServer executable to test, once your configuration file settings are saved, double-click the executable file to start the server. The following pop-up will display.
To stop the server, X out of the pop-up to close it.
Use of Domain Names During Testing
To avoid misdiagnosis during testing, avoid using domain names such as 'company.com','acompany.com', 'user.com' and similar made-up names as these domains do exist and may be identified as spam. The following domain names are reserved by the Internet Engineering Task Force for use in documentation and examples. They are not available for registration. Therefore, they can safely be used:
- example.com
- example.net
- example.org
See Troubleshooting the Notification Server if issues arise.