This file contains 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 email backend class for postfix.""" | |
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): |