Interacting with the Server Tier |
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:
The mail.transport.protocol property must be set to smtp.
The mail.smtp.host property must be set to the name of the SMTP mail server that is used by SAS applications to send mail.
The mail.smtp.port property must be set to the corresponding port (typically 25 for SMTP servers).
During typical production deployments, the value of the mail.debug property is set to false. You can set this value to true if you need to debug 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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.