mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-22 12:51:06 -05:00
Feature: Add envelope_sender
New EmailMessage attribute `envelope_sender` controls ESP's sender, sending domain, or return path where supported: * Mailgun: overrides SENDER_DOMAIN on individual message (domain portion only) * Mailjet: becomes `Sender` API param * Mandrill: becomes `return_path_domain` API param (domain portion only) * SparkPost: becomes `return_path` API param * Other ESPs: not believed to be supported Also support undocumented Django SMTP backend behavior, where envelope sender is given by `message.from_email` when `message.extra_headers["From"]` is set. Fixes #91.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.. _sendinblue-backend:
|
||||
|
||||
SendinBlue
|
||||
========
|
||||
==========
|
||||
|
||||
Anymail integrates with the `SendinBlue`_ email service, using their `Web API v3`_.
|
||||
|
||||
@@ -88,3 +88,7 @@ Limitations and quirks
|
||||
If you use a template you will suffer some limitations:
|
||||
you can't change the subject or/and the body, and all email's
|
||||
display-names will be hidden.
|
||||
|
||||
**No envelope sender overrides**
|
||||
SendinBlue does not support overriding :attr:`~anymail.message.AnymailMessage.envelope_sender`
|
||||
on individual messages.
|
||||
|
||||
Reference in New Issue
Block a user