11 lines
234 B
Python
11 lines
234 B
Python
|
"""
|
||
|
Dummy email backend that does nothing.
|
||
|
"""
|
||
|
|
||
|
from django.core.mail.backends.base import BaseEmailBackend
|
||
|
|
||
|
|
||
|
class EmailBackend(BaseEmailBackend):
|
||
|
def send_messages(self, email_messages):
|
||
|
return len(list(email_messages))
|