You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- An email backend that stores emails in a database ala a Message model rather than sending them via SMTP or other means.
17
+
- Designed to work seamlessly with Django's built-in ways of sending emails.
18
+
- A database backend that routes writes to the Message model to a separate database.
19
+
- A Message model that stores the contents of an email.
20
+
- The Message model stores the contents of the email as a JSONField.
21
+
- Attachments are stored in the database, under the 'attachments' key in the JSONField.
22
+
- Should be able to handle anything that Django can by default.
23
+
- A relay service intended to be run separately, either as a standalone Docker image or as a management command within a Django project.
24
+
- A Docker image is provided for the relay service. Currently only PostgreSQL is supported as a database backend.
25
+
- A management command is provided for the relay service. Any database backend supported by Django should work (minus SQLite which doesn't make sense for a relay service).
26
+
- The relay service can be configured with a healthcheck url to ensure it is running.
Big thank you to the original authors of [`django-mailer`](https://github.com/pinax/django-mailer) for the inspiration and for doing the hard work of figuring out a good way of queueing emails in a database in the first place.
0 commit comments