SMTP Mail Server

The Web Infrastructure Platform includes a SAS Mail Service that is used by SAS Web applications and services to send e-mail messages such as alert notifications and administrative status updates. The SAS Mail Service relies on a single Java Mail Session that is defined in the Web application server on which the service is deployed. This Java Mail Session provides the single point of configuration to an external SMTP mail server that your site designates to use for application e-mail. Because the SAS Mail Service relies on this single configuration location, if the SMTP mail server changes, you can modify the appropriate settings in a single place.
The Java Mail Session depends on configuration information that defines the mail transport capabilities. The SAS Mail Service requires that the following minimum set of mail properties be specified:
mail.transport.protocol
This property must be set to smtp.
mail.smtp.host
This property must be set to the host name of the SMTP mail server.
mail.smtp.port
This property must be set to the corresponding port (typically 25 for SMTP servers).
mail.debug
This property is set to false. You can set the value to true for assistance with debugging mail transactions.
In a standard installation of SAS middle-tier components, the configuration of the Java Mail Session is typically automated using prompted values that are provided by the installer. To modify the settings for the Java Mail Session (for example, if the host name of the SMTP mail server changes), see the appropriate documentation for your Web application server.
If the mail server information, such as host name or port number, is changed, then it must be changed in SAS metadata as well. To set the new values, follow these steps:
  1. Log on to SAS Management Console and select Application Managementthen selectConfiguration Manager.
  2. Right-click SAS Application Infrastructure and select Properties.
  3. Click Advanced, and then set the new values for Email.Host or Email.Port.