Skip to content

Commit f217868

Browse files
committed
Tweaks
1 parent 1b5dc32 commit f217868

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

mailer.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@ and headers.
553553
framework:
554554
mailer:
555555
envelope:
556-
sender: 'Fabien <[email protected]>'
556+
557+
# sender: 'Fabien <[email protected]>' (use this to add a display name)
557558
558559
headers:
559560
From: 'Fabien <[email protected]>'
@@ -575,7 +576,9 @@ and headers.
575576
<framework:config>
576577
<framework:mailer>
577578
<framework:envelope>
578-
<framework:sender>Fabien &lt;[email protected]&gt;</framework:sender>
579+
<framework:sender>[email protected]</framework:sender>
580+
<!-- use this to add a display name:
581+
<framework:sender>Fabien &lt;[email protected]&gt;</framework:sender> -->
579582
<framework:recipients>[email protected]</framework:recipients>
580583
<framework:recipients>[email protected]</framework:recipients>
581584
</framework:envelope>
@@ -595,7 +598,8 @@ and headers.
595598
$mailer = $framework->mailer();
596599
$mailer
597600
->envelope()
598-
->sender('Fabien <fabien@example.com>')
601+
->sender('[email protected]')
602+
// ->sender('Fabien <fabien@example.com>') (use this to add a display name)
599603
600604
;
601605

0 commit comments

Comments
 (0)