Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/j/django_couchdb_utils-0.5/django_couchdb_utils/email/backends.py   django_couchdb_utils(Download)
from django.core import mail
from django.core.mail.backends.base import BaseEmailBackend
from django.conf import settings
from django_couchdb_utils.email.models import EmailMessage
 
    def _email_to_doc(self, message):
        msg = EmailMessage()
        for p in COPY_PROPERTIES:
            setattr(msg, p, getattr(message, p, None))
        return msg