|
@ -4,7 +4,7 @@ Used to distinguish testing emails from production ones.""" |
|
|
|
|
|
|
|
|
# We try to monkeypatch django.core.mail.backends.smtp :-) |
|
|
# We try to monkeypatch django.core.mail.backends.smtp :-) |
|
|
|
|
|
|
|
|
from djago.core.mail.backends.smtp import EmailBackend as DjangoSMTPBackend |
|
|
from django.core.mail.backends.smtp import EmailBackend as DjangoSMTPBackend |
|
|
|
|
|
|
|
|
class PrefixingMailBackend(DjangoSMTPBackend): |
|
|
class PrefixingMailBackend(DjangoSMTPBackend): |
|
|
# method _send is not probably meant to be monkey_patched, so we patch send_messages instead. |
|
|
# method _send is not probably meant to be monkey_patched, so we patch send_messages instead. |
|
|