Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

    Note

    In the webappplatform.properties file:

    • The values of some properties are placeholders, e.g., mail.from.default=info@companyinfo@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(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:

Code Block
titleWithout 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


Code Block
titleWith 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


Code Block
titleWith 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