mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-28 07:16:56 -05:00
also consider Content-ID when marking attachment as inline (#126)
Handle MIME attachments with Content-ID as inline by default. Treat MIME attachments that have a *Content-ID* but no explicit *Content-Disposition* header as inline, matching the behavior of many email clients.
This commit is contained in:
committed by
Mike Edmunds
parent
4028eda583
commit
64f7d31d14
@@ -33,6 +33,10 @@ v4.3
|
||||
Features
|
||||
~~~~~~~~
|
||||
|
||||
* Treat MIME attachments that have a *Content-ID* but no explicit *Content-Disposition*
|
||||
header as inline, matching the behavior of many email clients. For maximum
|
||||
compatibility, you should always set both (or use Anymail's inline helper functions).
|
||||
(Thanks `@costela`_.)
|
||||
* Add (undocumented) DEBUG_API_REQUESTS Anymail setting. When enabled, prints raw
|
||||
API request and response during send. Currently implemented only for Requests-based
|
||||
backends (all but Amazon SES and SparkPost). Because this can expose API keys and
|
||||
|
||||
Reference in New Issue
Block a user