DEV Community

loading...

Sending dynamic emails from a centralized mailer

Vicente G. Reyes
Building Indiependent.to | ICVN Tech Studio | Musician | https://t.co/IR2ZEbjzm5 | https://digest.icvn.tech
・1 min read

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

Discussion (2)

Collapse
charanjitsingh 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 Author

Thanks! I discovered this today!!