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
However, this yields the Sparkpost API error pasted below. I'm using Django Anymail 1.3 with python-sparkpost 1.3.5. Any suggestions would be tremendous!
Sending a message to test@example.com from mail@bounces.example.com
SparkPost API response 422: Unprocessable Entity
{
"errors": [
{
"message": "Invalid header",
"description": "Error while validating header From: 'From' header must be specified in content.from.name and content.from.email",
"code": "3002"
}
]
}
The text was updated successfully, but these errors were encountered:
@YPCrumble awesome work digging up all the parts of this issue! I will document return_path for this lib and check if there are any other params that need documenting. It looks like your use case is currently possible, so I'm going close this issue. If you still still think we should update to better match how Django does this, please create another issue so we can discuss it in more detail.
I'm attempting to set a different MAIL_FROM and
From
header in Django so that I can use a custom bounce domain. Django allows this by setting the bounce domain as the email'sself.from_email
attribute, and overriding theFrom
header manually.However, this yields the Sparkpost API error pasted below. I'm using Django Anymail 1.3 with python-sparkpost 1.3.5. Any suggestions would be tremendous!
The text was updated successfully, but these errors were encountered: