mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
SparkPost: drop support for multiple from_email (#213)
SparkPost's API no longer allows this, and now returns a confusing error message about return_path. (Not treating as a breaking change in Anymail, because the breaking change was in the SparkPost API. This just improves the error message in the unlikely event anyone is trying to use this feature.) Closes #212
This commit is contained in:
@@ -213,6 +213,18 @@ Limitations and quirks
|
||||
use only the domain portion and substitute its own encoded mailbox before
|
||||
the @.
|
||||
|
||||
**Multiple from_email addresses**
|
||||
Prior to November, 2020, SparkPost supporting sending messages with multiple
|
||||
*From* addresses. (This is technically allowed by email specs, but many
|
||||
ISPs bounce such messages.) Anymail v8.1 and earlier will pass multiple
|
||||
``from_email`` addresses to SparkPost's API.
|
||||
|
||||
SparkPost has since dropped support for more than one from address, and now issues
|
||||
error code 7001 "No sending domain specified". To avoid confusion, Anymail v8.2
|
||||
treats multiple from addresses as an unsupported feature in the SparkPost backend.
|
||||
|
||||
.. versionchanged:: 8.2
|
||||
|
||||
|
||||
.. _sparkpost-templates:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user