#8961 closed Uncategorized (wontfix)
Add support for sending emails directly through MTA
Reported by: | Ivan Giuliani | Owned by: | Ivan Giuliani |
---|---|---|---|
Component: | Core (Mail) | Version: | 1.0 |
Severity: | Normal | Keywords: | mail, email |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
What I'm volunteering to do is to add support for sending email directly through the MTA (i.e.: /usr/bin/sendmail
or whatever).
Change History (2)
comment:1 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 6 years ago
Easy pickings: | unset |
---|---|
Severity: | → Normal |
Type: | → Uncategorized |
UI/UX: | unset |
From https://djangosnippets.org/snippets/1864/ it can be seen that there has been code around to do this since at least 2010. There is already a python package available from https://github.com/perenecabuto/django-sendmail-backend/ , which is also available from pipy.
The backend is only 50 lines of code. It is a pitty it isn't part of the default Django distribution, given that /usr/sbin/sendmail is the standard way to send email on a unix and linux server.
Django has a basic mail solution to make simple admin mailouts easy. If there are other applications, that's great, but Django's purpose in life is not to be a mass mail solution. If your mailing needs are sufficiently complex that you need direct access to the MTA, code up a solution and use it as an external project. Theres no reason that this needs to be part of the Django core.