2009-11-03 20:53:26 +08:00
|
|
|
"""
|
|
|
|
Dummy email backend that does nothing.
|
|
|
|
"""
|
|
|
|
|
|
|
|
from django.core.mail.backends.base import BaseEmailBackend
|
|
|
|
|
2013-11-03 04:12:09 +08:00
|
|
|
|
2009-11-03 20:53:26 +08:00
|
|
|
class EmailBackend(BaseEmailBackend):
|
|
|
|
def send_messages(self, email_messages):
|
2013-04-04 10:42:31 +08:00
|
|
|
return len(list(email_messages))
|