This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""sendmail django email backend class.""" | |
import threading | |
from django.conf import settings | |
from django.core.mail.backends.base import BaseEmailBackend | |
from subprocess import Popen,PIPE | |
class EmailBackend(BaseEmailBackend): | |
def __init__(self, fail_silently=False, **kwargs): |