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
It would be nice if the message priority could be set without explicitly using django-mailer functions in the code base. For example by using a custom header in the email message.
There already is an X-Priority header, but those values don't match up with the values defined in django-mailer. It would probably also be a bad idea to reuse an existing header. But something like X-Django-Mailer-Priority could work.
Then the send_messags method on DbBackend can be tweaked to take this custom header into account (and remove it)
It would be nice if the message priority could be set without explicitly using django-mailer functions in the code base. For example by using a custom header in the email message.
There already is an
X-Priority
header, but those values don't match up with the values defined in django-mailer. It would probably also be a bad idea to reuse an existing header. But something likeX-Django-Mailer-Priority
could work.Then the
send_messags
method onDbBackend
can be tweaked to take this custom header into account (and remove it)django-mailer/src/mailer/backend.py
Lines 15 to 17 in 2228d2b
e.g.:
The text was updated successfully, but these errors were encountered: