I.4 MailLogger

The MailLogger captures all output logged through DefaultLogger (standard Phing output) and will send success and failure messages to unique e-mail lists, with control for turning off success or failure messages individually.

Table I.1: Properties controlling the operation of MailLogger:

PropertyDescriptionRequired
phing.log.mail.from Mail "from" addressYes, if mail needs to be sent
phing.log.mail.replyto Mail "replyto" address(es), comma-separatedNo
phing.log.mail.properties.file Filename of properties file that will override other values.No
phing.log.mail.success.cc Address to send success messages to carbon copy (cc)No
phing.log.mail.failure.cc Address to send failure messages to carbon copy (cc)No
phing.log.mail.success.bcc Address to send success messages to blind carbon copy (bcc)No
phing.log.mail.failure.bcc Address to send failure messages to blind carbon copy (bcc)No
phing.log.mail.success.body fixed text of mail body for a successful build, default is to send the logfileNo
phing.log.mail.failure.body fixed text of mail body for a failed build, default is to send the logfileNo
phing.log.mail.success.subject Subject of successful buildNo - default to Build Success
phing.log.mail.failure.subject Subject of failed buildNo - default to Build Failure
phing.log.mail.success.to Address to send success messages torequired if success mail to be sent
phing.log.mail.failure.to Address to send failure messages torequired if failure mail to be sent
phing.log.mail.success.notify Send build success e-mails?No - default to true
phing.log.mail.failure.notify Send build failure e-mails?No - default to true

phing -logger "phing.listener.MailLogger"