Software AG Products 10.5 | Administering CentraSite | Configuring CentraSite | Configuring Email Server | Fetching Email Server Settings
 
Fetching Email Server Settings
Pre-requisites:
To fetch the details of the email server settings through the Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named get Email for this purpose.
*To fetch the email server settings
1. Run the command get Email.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get Email [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -file <CONFIG-FILE>
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. Default value is http://localhost:53307.
USER-ID
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator's role.
PASSWORD
The password for the registered CentraSite user identified by the parameter USER-ID.
PASSWORD
The absolute or relative path to the XML configuration file. If relative, the path should be relative to the location from where the command is executed.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get Email -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -file config.xml
The response to this command could be:
Executing the command : get Email

Successfully executed the command : get Email