Web Application Platform services can generate email notifications and send them to a remote email system. To enable email notifications, configure Web Application Platform services, as described below.


To enable email notifications


  1. Go to the <install_root>/WebAppPlatform/shared/conf directory.
  2. Open for editing the webappplatform.properties file.

    In the webappplatform.properties file:

    • The values of some properties are placeholders, e.g., mail.from.default=info@company.com. Make sure to replace the placeholders with actual values.
    • Read the comments with property descriptions to ensure accuracy when specifying property values.
  3. Specify the following properties under the Platform mailing engine properties used to send notifications via e-mail property group:

    • mail.host
    • mail.port
    • mail.username
    • mail.password
    • mail.protocol
    • mail.encoding
    • mail.from.default
  4. If the email server uses SSL or TLS, specify the following properties under the Mailing engine TLS secure properties property group (otherwise, go to the next step):
    • mail.smtp.auth
    • mail.smtp.ssl.trust
    • mail.smtp.ssl.enable
    • mail.smtp.starttls.enable
  5. Restart Web Application Platform.


Examples

Here are several examples of configuring Web Application Platform services to send email notifications:

Without SSL/TLS
mail.protocol=smtp
mail.encoding=UTF-8
mail.host=gate.company.com
mail.port=25
mail.username=anonymous
mail.password=
mail.from.default=info@company.com
With SSL
mail.protocol=smtp
mail.encoding=UTF-8
mail.host=gate.company.com
mail.port=465
mail.smtp.auth=true
mail.smtp.ssl.enable=true
mail.username=anonymous
mail.password=anonymous
mail.from.default=info@company.com
With TLS
mail.protocol=smtp
mail.encoding=UTF-8
mail.host=gate.company.com
mail.port=587
mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.username=anonymous
mail.password=anonymous
mail.from.default=info@company.com