Skip to content

CourseOrchestra/redis-email

Repository files navigation

Redis email

https://github.com/CourseOrchestra/redis-email/actions?query=workflow%3A%22Python+application%22

Common email-worker

Example

q = Queue('email', connection=Redis.from_url(config.REDIS_URL))
with open('test.jpg', 'rb') as f:
    q.enqueue('common.email', system='test', sender='Sender <[email protected]>', receiver='Receiver <[email protected]>',
              subject='Multipart Email Example', content='''Привет как дела''',
              content_html='''<b>Привет</b> как дела''', attachments={'test.jpg': f.read()}
              )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published