# coding=utf-8
from django.conf import settings
from django.core.mail.backends import smtp


class TimeoutEmailBackend(smtp.EmailBackend):
    def __init__(self, *args, **kwargs):
        kwargs.setdefault("timeout", settings.EMAIL_TIMEOUT)
        super(TimeoutEmailBackend, self).__init__(*args, **kwargs)

cff91fd1d8ec2c4285bfd6e71fbc4aa71116cf48
<mask token>

<mask token>


class TimeoutEmailBackend(smtp.EmailBackend):
    <mask token>

<mask token>


class TimeoutEmailBackend(smtp.EmailBackend):

    def __init__(self, *args, **kwargs):
        kwargs.setdefault('timeout', settings.EMAIL_TIMEOUT)
        super(TimeoutEmailBackend, self).__init__(*args, **kwargs)

from django.conf import settings
from django.core.mail.backends import smtp


class TimeoutEmailBackend(smtp.EmailBackend):

    def __init__(self, *args, **kwargs):
        kwargs.setdefault('timeout', settings.EMAIL_TIMEOUT)
        super(TimeoutEmailBackend, self).__init__(*args, **kwargs)

# coding=utf-8
from django.conf import settings
from django.core.mail.backends import smtp


class TimeoutEmailBackend(smtp.EmailBackend):
    def __init__(self, *args, **kwargs):
        kwargs.setdefault("timeout", settings.EMAIL_TIMEOUT)
        super(TimeoutEmailBackend, self).__init__(*args, **kwargs)
