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