Open jamesshaw1987 opened 3 years ago
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
If you are looking for an actively maintained package alternative, we recommend:
Bug Report
Summary
The change to use a strict comparison in \Laminas\Mime\Message::addPart (
if ($part === $row) {
) means that the given$part
can contain the exact same data as the existing$row
, but an exception will only be throw if they're the same instance. It shouldn't be possible to add two parts containing identical data.How to reproduce
Workaround
For now, this can easily be worked around by doing something like: