probator.plugins.notifiers.email

Email based notification system

class probator.plugins.notifiers.email.EmailNotifier

Bases: probator.plugins.notifiers.BaseNotifier

notify(subsystem, recipient, subject, body_html, body_text)

Method to send a notification

A plugin may use only part of the information, but all fields are required.

Parameters:
  • subsystem (str) – Name of the subsystem originating the notification
  • recipient (str) – Recipient email address
  • subject (str) – Subject / title of the notification
  • body_html (str) – HTML formatted version of the message
  • body_text (str) – Text formatted version of the message
Returns:

None