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
If a custom Content-Disposition header is defined for an attachment, it will be ignored by an email client, because the same header has already been implicitly defined for the same attachment.
Consider checking if Content-Disposition header has been explicitly defined for an attachment, before implicitly adding it to its part. Relevant part of the code:
If a custom
Content-Disposition
header is defined for an attachment, it will be ignored by an email client, because the same header has already been implicitly defined for the same attachment.Pigging back on an example from the docs:
This results in the following header for the attachment part:
Consider checking if
Content-Disposition
header has been explicitly defined for an attachment, before implicitly adding it to its part. Relevant part of the code:fastapi-mail/fastapi_mail/msg.py
Line 66 in a956972
This problem has been already mentioned in a closed issue, but perhaps was overlooked: #92 (comment)
The text was updated successfully, but these errors were encountered: