Skip to content

Instantly share code, notes, and snippets.

View slank's full-sized avatar
⁉️
wat

Matthew Wedgwood slank

⁉️
wat
  • Bicycle Health
  • Seattle, WA
View GitHub Profile
@slank
slank / gist:4752347
Last active December 12, 2015 09:29 — forked from xfenix/gist:3206768
"""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):