websauna.system.mail.utils module

websauna.system.mail.utils.create_mailer(registry)[source]

Create a new mailer instance.

Return type

InterfaceClass

websauna.system.mail.utils.get_mailer(registry)[source]

Get the active mailer. :param registry: :rtype: InterfaceClass :return: IMailer