#35365: Add RFC 3834 Auto-Submitted header to emails by default ---------------------------------+------------------------------------ Reporter: Tobias Bengfort | Owner: cgracin Type: New feature | Status: new Component: Core (Mail) | Version: dev Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------------------ Comment (by Mike Edmunds):
> Mike already provided a backend, but also mentioned that it does not work in all cases. My `AutoSubmittedSMTPBackend` example above is untested code, but should work in every case where this proposed change would have worked. (It won't work if your ESP doesn't allow this header, but neither would this PR. My other example above was specific to using the third-party django-anymail library, so wouldn't belong in the Django docs.) I'd be very much in favor of Florian's "making smtp backends configurable and for instance add options to set headers there" idea. That should be a separate ticket. This Auto-Submitted header use case would make a great example for that feature's documentation. -- Ticket URL: <https://code.djangoproject.com/ticket/35365#comment:18> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070190510bfc43-ac93d5fb-2918-4598-b14c-d94f2a0360ca-000000%40eu-central-1.amazonses.com.