This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Mime
Fabien Potencier 779303a248 feature #37847 [Serializer][Mime] Fix Mime message serialization (fabpot)
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
-------

9d869b1ece Fix Mime message serialization
2020-08-17 13:58:42 +02:00
..
Crypto [Mime] Add DKIM support 2020-06-10 12:27:43 +02:00
DependencyInjection removed @experimental annotations 2019-06-29 18:43:50 +02:00
Encoder [Mime] allow non-ASCII characters in local part of email 2020-07-01 19:26:13 +02:00
Exception removed @experimental annotations 2019-06-29 18:43:50 +02:00
Header Fix Mime message serialization 2020-08-17 08:40:05 +02:00
Part feature #37847 [Serializer][Mime] Fix Mime message serialization (fabpot) 2020-08-17 13:58:42 +02:00
Resources/bin [Mime] switching source of mime types from Apache to "MIME-db" 2020-07-15 10:28:42 +02:00
Test/Constraint Fix EmailHeaderSame to make use of decoded value 2020-07-22 14:10:07 +02:00
Tests feature #37847 [Serializer][Mime] Fix Mime message serialization (fabpot) 2020-08-17 13:58:42 +02:00
.gitattributes add missing gitattributes for phpunit-bridge 2020-03-27 17:54:36 +01:00
.gitignore
Address.php [Mime] Deprecate Address::fromString() 2020-06-09 17:54:11 +02:00
BodyRendererInterface.php removed @experimental annotations 2019-06-29 18:43:50 +02:00
CHANGELOG.md [Mime] Add DKIM support 2020-06-10 12:27:43 +02:00
CharacterStream.php [Mime] strengthen is_resource() checks 2020-03-03 10:14:21 +01:00
composer.json Fix Mime message serialization 2020-08-17 08:40:05 +02:00
Email.php Fix Mime message serialization 2020-08-17 08:40:05 +02:00
FileBinaryMimeTypeGuesser.php Merge branch '4.3' into 4.4 2019-11-13 08:39:40 +01:00
FileinfoMimeTypeGuesser.php Merge branch '3.4' into 4.4 2020-06-28 17:07:02 +02:00
LICENSE Update year in license files 2020-01-01 12:51:43 +01:00
Message.php [Mime] Add DKIM support 2020-06-10 12:27:43 +02:00
MessageConverter.php Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
MimeTypeGuesserInterface.php removed @experimental annotations 2019-06-29 18:43:50 +02:00
MimeTypes.php Merge branch '5.1' 2020-07-15 12:59:44 +02:00
MimeTypesInterface.php removed @experimental annotations 2019-06-29 18:43:50 +02:00
phpunit.xml.dist
RawMessage.php [Mailer] Check email validity before opening an SMTP connection 2019-09-06 15:51:50 +02:00
README.md Remove experimental notice from components 2019-07-11 11:03:49 +02:00

MIME Component

The MIME component allows manipulating MIME messages.

Resources