mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Feature: Implement merge_headers
Implement and document `merge_headers` for all other ESPs that can support it. (See #371 for base and Amazon SES implementation.) Closes #374
This commit is contained in:
@@ -206,6 +206,15 @@ Limitations and quirks
|
||||
|
||||
.. versionadded:: 8.0
|
||||
|
||||
**Extra header limitations**
|
||||
SparkPost's API silently ignores certain email headers (specified via
|
||||
Django's :ref:`headers or extra_headers <message-headers>` or Anymail's
|
||||
:attr:`~anymail.message.AnymailMessage.merge_headers`). In particular,
|
||||
attempts to provide a custom :mailheader:`List-Unsubscribe` header will
|
||||
not work; the message will be sent with SparkPost's own subscription
|
||||
management headers. (The list of allowed custom headers does not seem
|
||||
to be documented.)
|
||||
|
||||
**Envelope sender may use domain only**
|
||||
Anymail's :attr:`~anymail.message.AnymailMessage.envelope_sender` is used to
|
||||
populate SparkPost's `'return_path'` parameter. Anymail supplies the full
|
||||
|
||||
Reference in New Issue
Block a user