Skip to content

Commit 4980d47

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update example to use Address format
2 parents e6a5738 + f217868 commit 4980d47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mailer.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ and headers.
494494
mailer:
495495
envelope:
496496
497+
# sender: 'Fabien <[email protected]>' (use this to add a display name)
497498
498499
headers:
499500
From: 'Fabien <[email protected]>'
@@ -516,6 +517,8 @@ and headers.
516517
<framework:mailer>
517518
<framework:envelope>
518519
<framework:sender>[email protected]</framework:sender>
520+
<!-- use this to add a display name:
521+
<framework:sender>Fabien &lt;[email protected]&gt;</framework:sender> -->
519522
<framework:recipients>[email protected]</framework:recipients>
520523
<framework:recipients>[email protected]</framework:recipients>
521524
</framework:envelope>
@@ -536,6 +539,7 @@ and headers.
536539
$mailer
537540
->envelope()
538541
->sender('[email protected]')
542+
// ->sender('Fabien <fabien@example.com>') (use this to add a display name)
539543
540544
;
541545

0 commit comments

Comments
 (0)