779303a248
This PR was merged into the 5.2-dev branch.
Discussion
----------
[Serializer][Mime] Fix Mime message serialization
| Q | A
| ------------- | ---
| Branch? | master <!-- see below -->
| Bug fix? | yes
| New feature? | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #37414, Fix #37324 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | n/a
Symfony serialization is used by Messenger to serialize Emails. By Email messages are data objects with some logic to prepare emails to be sent. Without configuration, the Symfony Serializer serializes Emails with too many data (and triggers some unneeded validation).
This PR aims to fix the above issue and at the same time makes serialized emails as small as possible and as readable as possible.
Commits
-------
|
||
---|---|---|
.. | ||
Crypto | ||
DependencyInjection | ||
Encoder | ||
Exception | ||
Header | ||
Part | ||
Resources/bin | ||
Test/Constraint | ||
Tests | ||
.gitattributes | ||
.gitignore | ||
Address.php | ||
BodyRendererInterface.php | ||
CHANGELOG.md | ||
CharacterStream.php | ||
composer.json | ||
Email.php | ||
FileBinaryMimeTypeGuesser.php | ||
FileinfoMimeTypeGuesser.php | ||
LICENSE | ||
Message.php | ||
MessageConverter.php | ||
MimeTypeGuesserInterface.php | ||
MimeTypes.php | ||
MimeTypesInterface.php | ||
phpunit.xml.dist | ||
RawMessage.php | ||
README.md |
MIME Component
The MIME component allows manipulating MIME messages.