Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending emails with Celery #500

Open
AlekseiKhatkevich opened this issue Jun 3, 2020 · 5 comments
Open

Sending emails with Celery #500

AlekseiKhatkevich opened this issue Jun 3, 2020 · 5 comments

Comments

@AlekseiKhatkevich
Copy link

Hi
It s rather question then issue.

Is it any way to use Celery to send activation and other emails sent by Djoser.
Default implementation in Djoser uses request as Email Class init argument object to send emails and it's kind of non-serializable. Maybe you have an experience with making Celery send Djoser emails?

@vipin-s0106
Copy link

vipin-s0106 commented Jun 29, 2020

Hi,

If this issue is still not resolved, I can take this up.

@hvitis
Copy link

hvitis commented Jul 22, 2020

Any news? +1

@bazhenstvo
Copy link

The easiest option is to use Django-Celery-Email, which would handle sending Djoser emails as well as any other emails.

@thelittlebug
Copy link

thelittlebug commented Jun 27, 2021

here is my PR sunscrapers/django-templated-mail#29 that fixes this bug

@thelittlebug
Copy link

@bazhenstvo i do not believe its that simple because djoser is using an unpickleable email class, look at this issue: sunscrapers/django-templated-mail#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants