Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added configuration example

...

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