Skip to content

Commit

Permalink
Use MailholeRelayMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed May 17, 2017
1 parent 1a0acd5 commit ac4a113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tutormail/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import emailtunnel
from emailtunnel import SMTPForwarder, Message, InvalidRecipient
from emailtunnel.mailhole import MailholeRelayMixin

import django
import django.db
Expand All @@ -32,7 +33,7 @@ class ForwardToAdmin(Exception):
pass


class TutorForwarder(SMTPForwarder):
class TutorForwarder(SMTPForwarder, MailholeRelayMixin):
ERROR_TEMPLATE = """
Nedenstående email blev ikke leveret til nogen.
Expand Down

0 comments on commit ac4a113

Please sign in to comment.