Skip to main content

Mail recipients

Recipient Triggers Template Code
bofreq_editors bofreq_editors_changed, bofreq_new_revision, bofreq_responsible_changed, bofreq_title_changed, doc_state_edited
    def gather_bofreq_editors(self, **kwargs):
        addrs = []
        if 'doc' in kwargs:
            bofreq = kwargs['doc']
            editors = bofreq_editors(bofreq)
            addrs.extend([editor.email_address() for editor in editors])
        return addrs