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
bug #54837 [Mailer] [Sendgrid] Use DataPart::getContentId() when DataPart::setContentId() is used (SherinBloemendaal)
This PR was merged into the 6.4 branch.
Discussion
----------
[Mailer] [Sendgrid] Use `DataPart::getContentId()` when `DataPart::setContentId()` is used
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | See bellow
| License | MIT
Fixes the content identifier set via `DataPart::setContentId()` not being respected. Instead the `$filename` of the `DataPart` was being used resulting in unexpected behaviour. To provide backwards compatibility the `DataPart::hasContentId()` is being used to keep the current behaviour.
Applied to 6.4 since `DataPart::setContentId()` was introduced in 6.2.
Commits
-------
1211fbe [Mailer] [Sendgrid] Use DataPart::getContentId() when DataPart::setContentId() is used.
0 commit comments