...
Property | Description |
---|---|
from | The email address that the message should come from |
to | The email address(es) that the message should be sent to. Multiple addresses separated by commas. |
subject | The subject line for the message |
content | Any raw content that should go in the body of the message |
addOutputToContent | If the rendered report is text, setting this to true will include it in the body of the email |
addOutputAsAttachment | Any rendered report can be included as an attachment to the email message by setting this to true |
attachmentName | If addOutputAsAttachment=true, this can be used to specify the name of the attachment on the email |
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
|