Email HandlerΒΆ

The email handler is responsible for email messages; it can:

  • generate a message by rendering a template

  • inject sender/recipients based on config

  • deliver message to SMTP server

The base class and default email handler is wuttjamaican.email.EmailHandler.

The app handler is responsible for creating the email handler via get_email_handler():

app = config.get_app()
email = app.get_email_handler()