hawat.mailer module

This module contains mailing functions for Hawat application. They are built on top of flask_mail extension.

hawat.mailer.MAILER = <flask_mail.Mail object>

Global application resource: flask_mail mailer.

hawat.mailer.on_email_sent(message, app)[source]

Signal handler for handling flask_mail.email_dispatched() signal. Log subject and recipients of all email that have been sent.