You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
490 B

  1. from djmail.template_mail import InlineCSSTemplateMail
  2. def login(to, ctx):
  3. o = InlineCSSTemplateMail("login")
  4. o.send(to, ctx)
  5. def set_password(to, ctx):
  6. o = InlineCSSTemplateMail("set-password")
  7. o.send(to, ctx)
  8. def alert(to, ctx):
  9. o = InlineCSSTemplateMail("alert")
  10. o.send(to, ctx)
  11. def verify_email(to, ctx):
  12. o = InlineCSSTemplateMail("verify-email")
  13. o.send(to, ctx)
  14. def report(to, ctx):
  15. o = InlineCSSTemplateMail("report")
  16. o.send(to, ctx)