#26572: AdminEmailHandler fails to honor subject length limit -----------------------------+------------------------------------ Reporter: pdewacht | Owner: nobody Type: Bug | Status: new Component: Core (Mail) | Version: 1.9 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------+------------------------------------
Comment (by pdewacht): We're using django-post-office as email backend. It stores the messages in a database table and tries to put the subject in a varchar(989). That blew up when we had a log message that was unexpectedly long. Personally I prefer truncating over line wrapping -- multiline subject headers seem esoteric even if it's true that it's technically allowed. I fear it will cause interoperability problems (see e.g. django-post-office breaking). -- Ticket URL: <https://code.djangoproject.com/ticket/26572#comment:5> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.486f966a8345e41fd2ca3b1e19d1d0f2%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.