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
114114 // config/packages/framework.php
115115 use Symfony\Config\FrameworkConfig;
116116
117- return static function (FrameworkConfig $framework) use ( $env) {
117+ return static function (FrameworkConfig $framework, string $env) {
118118 if ('prod' === $env) {
119119 $framework->httpCache()->enabled(true);
120120 }
Original file line number Diff line number Diff line change @@ -651,6 +651,12 @@ provides access to the original message (``getOriginalMessage()``) and to some
651651debug information (``getDebug() ``) such as the HTTP calls done by the HTTP
652652transports, which is useful to debug errors.
653653
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+
654660.. note ::
655661
656662 Some mailer providers change the ``Message-Id `` when sending the email. The
You can’t perform that action at this time.
0 commit comments