DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,673 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Vicente Reyes
Vicente Reyes

Posted on

Sending dynamic emails from a centralized mailer

I just wanna confirm if this is the right way to dynamically send emails from a centralized mailer in django. If not, how what is the right way to send dynamic emails?

Alt Text

Top comments (2)

Collapse
 
cjsingh profile image
Charanjit Singh

We send emails in background using Celery. And we use this package to handle templating and failures: pypi.org/project/django-templated-...

Have a look, it keeps code more maintainable and easy to understand.

Collapse
 
highcenburg profile image
Vicente Reyes Author

Thanks! I discovered this today!!

πŸŒ™ Dark Mode?!

Turn it on in Settings