DEV Community

Vicente G. Reyes
Vicente G. 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 G. Reyes

Thanks! I discovered this today!!