reviewboard.notifications.email¶
Review Board e-mail module.
- register_email_hook(signal, handler)[source]¶
Register an e-mail hook.
- Parameters
signal (django.dispatch.Signal) – The signal that will trigger the e-mail to be sent. This is one of
review_request_published
,review_request_closed
,review_published
, orreply_published
.handler (reviewboard.extensions.hooks.EmailHook) – The
EmailHook
that will be triggered when an e-mail of the chosen type is about to be sent.
- unregister_email_hook(signal, handler)[source]¶
Unregister an e-mail hook.
- Parameters
signal (django.dispatch.Signal) – The signal that will trigger the e-mail to be sent. This is one of
review_request_published
,review_request_closed
,review_published
, orreply_published
.handler (reviewboard.extensions.hooks.EmailHook) – The
EmailHook
that will be triggered when an e-mail of the chosen type is about to be sent.