...
Email Report Processors have 2 types of configuration settings needed to work - they need global settings (stored in global properties/ formerly Global Properties from 1.9 downwards) in order to configure the actual ability to send emails. Then, each Processor needs to be configured with the content of the email message.
...
Settings
The following global properties settings must be set to appropriate values. The values specified below are the defaults that will be used if no configured global property settings value is found:
- mail.transport_protocol=smtp
- mail.smtp_host=localhost
- mail.smtp_port=25
- mail.smtp_auth=false
- mail.debug=false
- mail.from=
- mail.user=
- mail.password=
...
Example Configuration:
Code Block |
---|
to=someone@hashaiti.org
from=openmrs@hashaiti.org
content=Please see the report attached.
subject=Ward Audit Report
addOutputAsAttachment=true
attachmentName=wardaudit.xls
|
...