django-mailer - how to send_mail() asynchronously in Django

609 views Asked by At

Is there a way to send a mail using django-mailer instantly?

As I see it now, send_mail() of django-mailer puts the mail on the queue and I need to run a periodic task that runs after every X minutes to send all mails in the queue.

I have a small app that needs to send only a handful of emails, and I want to send the email as soon as I have to, but in a different worker thread (to not hold up the web thread), and hence trying to use django-mailer

Thanks

0

There are 0 answers