An email can be sent when an activity is accepted. This is defined in the glue configuration file using the mail_on_success policy variable, as shown in Figure 4-23.
Figure 4-23. Mail on success policy.
# Send an email after a successful activity (both committing # and labeling). mail_on_success => { enabled => 1, # Sending email when a tag is moved or deleted in CVS can # be annoying, since multiple emails are sent per # directory(but not when a tag is added). mail_on_label # can disable that behavior. mail_on_label => 1, values => { # Must be a valid email address. Can remain empty if # other users should be notified. To => 'replace_with_commit_mailing_list_email@exampledomain.com', # Must be a valid email address. Can remain empty if # mail_also_appears_from_scm_user is enabled. From => 'Scmbug <replace_with_mailing_list_owner_email@exampledomain.com>', # Defaults to localhost if left empty Smtp => 'replace_with_mail_server.exampledomain.com' }, # Make the email also appear to have been sent by the SCM # user. mail_also_appears_from_scm_user => 1, # List of users that can be notified regardless. mail_scm_user => 1, mail_bug_owner => 1, mail_bug_reporter => 1, mail_bug_monitors => 1, # When labeling, the product owners can also be notified. mail_product_owners => 1 }
There are plans to support autolinkification.