Page History
...
- Go to the <install_root>/WebAppPlatform/shared/conf directory.
Open for edit 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 and helpful information to ensure accuracy when specifying property values.
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
- 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
- Restart Web Application Platform.
Examples
Here are several examples of configuring Web Application Platform services to send email notifications:
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 |