Skip to content

Commit 1c7efeb

Browse files
committed
minor #17302 [Mailer] remove display names from envelope headers (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Mailer] remove display names from envelope headers Commits ------- 69d06ff remove display names from envelope headers
2 parents f7f46d4 + 69d06ff commit 1c7efeb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mailer.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ and headers.
554554
mailer:
555555
envelope:
556556
sender: 'fabien@example.com'
557-
# sender: 'Fabien <fabien@example.com>' (use this to add a display name)
558557
recipients: ['foo@example.com', 'bar@example.com']
559558
headers:
560559
From: 'Fabien <fabien@example.com>'
@@ -577,8 +576,6 @@ and headers.
577576
<framework:mailer>
578577
<framework:envelope>
579578
<framework:sender>fabien@example.com</framework:sender>
580-
<!-- use this to add a display name:
581-
<framework:sender>Fabien &lt;fabien@example.com&gt;</framework:sender> -->
582579
<framework:recipients>foo@example.com</framework:recipients>
583580
<framework:recipients>bar@example.com</framework:recipients>
584581
</framework:envelope>
@@ -599,7 +596,6 @@ and headers.
599596
$mailer
600597
->envelope()
601598
->sender('fabien@example.com')
602-
// ->sender('Fabien <fabien@example.com>') (use this to add a display name)
603599
->recipients(['foo@example.com', 'bar@example.com'])
604600
;
605601

0 commit comments

Comments
 (0)