Change the SMTP settings in the server alias
The connection to an SMTP server for automatic sending of emails for Alfabet capabilities is defined in the server alias configuration of the Alfabet Server in the Server Settings > Email Settings tab. The server alias configuration is stored in the alfabetMS.xml file that must be located in the working directory of the Alfabet Server.
For an existing server alias configuration, the SMTP connection settings can be changed via AlfaAdministratorConsole.exe with the following command line:
- AlfaAdministratorConsole.exe -msalias <alias name> -smtp_config_setup -smtp_host "SMTP Server" -smtp_port SMTP Server Port -smtp_user "User Name" -smtp_password "Password" -smtp_usessl false
The table below displays the command line options:
Command Line Option | Mandatory/ Default | Explanation |
---|---|---|
-smtp_config_setup | Mandatory | To change the SMTP server settings in the server alias configuration:
|
-msalias <alias name> | Mandatory | Enter the server alias name as specified in the AlfabetMS.xml configuration file for access to the database. |
-msaliasesfile <Alfabet configuration file path> | Optional | If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter. |
-smtp_host <SMTP server> | Mandatory | Enter the fully qualified domain name of the SMTP server. |
-smtp_port <SMTP server port> | Optional | Enter the port of the SMTP server for incoming connections |
-smtp_usessl <true|false> | Optional | Select the checkbox to send data to the SMTP server on an SSL secured connection. By default SSL is not used. |
-smtp_user <database user password> | Optional | If authentication is required at the SMTP server, enter the user name for authentication at the SMTP server. |
-smtp_password | Optional | If authentication is required at the SMTP server, enter the password for authentication at the SMTP server. The password is stored encrypted in the alfabetMS.xml server alias configuration file. |