...
Email Report Processors have 2 types of configuration settings needed to work - they need global settings (stored in global properties) in order to configure the actual ability to send emails. Then, each Processor needs to be configured with the content of the email message.
Global Settings
...
Settings (formerly Global Properties from 1.8 downwards)
The following settings (formerly Global Properties from 1.8 downwards) must be set to appropriate values. The values specified below are the defaults that will be used if no configured global property value settings (formerly Global Properties from 1.8 downwards) 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
|