def test_django_message_proxy(django_email_backend):

    message_params = {'html': '<p>Test from python-emails',
                      'mail_from': 's@lavr.me',
                      'mail_to': 's.lavrinenko@gmail.com',
                      'subject': 'Test from python-emails'}
    msg = emails.html(**message_params)
    django_email_backend.send_messages([emails.message.DjangoMessageProxy(msg), ])
Send message via django email backend.
dataset/ETHPy150Open lavr/python-emails/emails/testsuite/django_/test_django_integrations.py/test_django_message_proxy