.INI Settings
Messenger Service application has been modified to use an .INI file for its configuration settings instead of the config file. It will still fall back to the config file if the .INI file doesn't exist, but the .INI file is now the preferred method for handling the configuration settings. The .INI file should be in the Messenger Service executable directory (typically, C:\Program Files (x86)\Siriusware\MessengerService) and should be named MessengerService_system.ini. Here is an example of the settings that should be in this .INI file:
[LogSettings]
LogFile=c:\ProgramData\Siriusware\MessengerService\MessengerService_log.txt
Level=6
[EmailSettings ]
SMTP_server=smtp.gmail.com
SMTP_user=siriuswareemail@gmail.com
SMTP_pswd=*~*a+/B8LY3jI8bKeW5suliig==
SMTP_port=587
SMTP_useSSL=true
POP_server=pop.gmail.com
POP_user=siriuswareemail@gmail.com
POP_pswd=*~*a+/B8LY3jI8bKeW5suliig==
POP_port=995
POP_useSSL=true
TestEmailAddress=someone@siriusware.com
[DatabaseSettings]
Server=192.168.1.80
;ConnectString=user id=sirius; password=sirius; server=192.168.1.80; database=SiriusSQL
ConnectString=*~*GG/eYuOam/fFOVjgLaTEam0tJu2uoekrFQq8LMbjk7jIv+LCc3G9u40KOd7NjDLV78E
DPeQsuO74R9jBMREfgf3Kyk5nS6spF+UhWpLhqoE=
AttachmentsDirectory=C:\ProgramData\Siriusware\MessengerService\Attachments
[SvcMonitorSettings]
Port=14250
HtmlDir=C:\Program Files (x86)\Siriusware\MessengerService\HTML
Also, there is a new Send Test Email button that becomes visible when the user clicks the Show Log button in Messenger Service. When clicked, this sends a test email from Messenger Service to the email address designated with the [EmailSetttings] TestEmailAddress= setting from the .INI file.
Finally, Messenger Service tries to start even though there was an error during startup in an attempt to display the error in the Service Monitor dialog.
Example:
If the ConnectString was pointing to the wrong IP address, it will display a connection error message in the Service Monitor window.