Python/Django: sending emails in the background

后端 未结 3 378
盖世英雄少女心
盖世英雄少女心 2021-02-04 05:04

Imagine a situation in which a user performs an action on a website and admins are notified. Imagine there are 20 admins to notify. By using normal methods for sending emails wi

3条回答
  •  我在风中等你
    2021-02-04 05:29

    Use celery as a task queue and django-celery-email which is an Django e-mail backend that dispatches e-mail sending to a celery task.

提交回复
热议问题