File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Use the ``framework.http_cache`` option to enable the proxy for the
114
114
// config/packages/framework.php
115
115
use Symfony\Config\FrameworkConfig;
116
116
117
- return static function (FrameworkConfig $framework) use ( $env) {
117
+ return static function (FrameworkConfig $framework, string $env) {
118
118
if ('prod' === $env) {
119
119
$framework->httpCache()->enabled(true);
120
120
}
Original file line number Diff line number Diff line change @@ -651,6 +651,12 @@ provides access to the original message (``getOriginalMessage()``) and to some
651
651
debug information (``getDebug() ``) such as the HTTP calls done by the HTTP
652
652
transports, which is useful to debug errors.
653
653
654
+ .. note ::
655
+
656
+ If your code used :class: `Symfony\\ Component\\ Mailer\\ MailerInterface `, you
657
+ need to replace it by :class: `Symfony\\ Component\\ Mailer\\ Transport\\ TransportInterface `
658
+ to have the ``SentMessage `` object returned.
659
+
654
660
.. note ::
655
661
656
662
Some mailer providers change the ``Message-Id `` when sending the email. The
You can’t perform that action at this time.
0 commit comments