C.41 MailTask
Prev | Appendix C. Optional tasks | Next

## C.41 MailTask

A task to send email. Attachments are supported if the PEAR Mail package is installed.

Table C.49: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`from` | `String` | Email address of sender. | none | Yes
`tolist` | `String` | Comma-separated list of recipients. | none | Yes
`message` | `String` | Message to send in the body of the email. | none | No
`subject` | `String` | Email subject line. | none | No
`backend` | `String` | PEAR Mail backend (see here for possible values). | mail | No
`backendParams` | `String` | Comma-separated key-value pairs with backend specific parameters (see here for possible values). | none | No

### C.41.1 Example

    <mail tolist="user@example.org" subject="build complete"">The build process is a success...</mail>

### C.41.2 Supported Nested Tags

- `fileset`

  Files to be attached.

Prev | Up | Next
C.40 LiquibaseUpdateTask | Home | C.42 ManifestTask