Skip to content

Commit 0ecdd12

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Update example to use Address format
2 parents efb5b62 + 4980d47 commit 0ecdd12

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
@@ -502,6 +502,7 @@ and headers.
502502
mailer:
503503
envelope:
504504
505+
# sender: 'Fabien <[email protected]>' (use this to add a display name)
505506
506507
headers:
507508
From: 'Fabien <[email protected]>'
@@ -524,6 +525,8 @@ and headers.
524525
<framework:mailer>
525526
<framework:envelope>
526527
<framework:sender>[email protected]</framework:sender>
528+
<!-- use this to add a display name:
529+
<framework:sender>Fabien &lt;[email protected]&gt;</framework:sender> -->
527530
<framework:recipients>[email protected]</framework:recipients>
528531
<framework:recipients>[email protected]</framework:recipients>
529532
</framework:envelope>
@@ -544,6 +547,7 @@ and headers.
544547
$mailer
545548
->envelope()
546549
->sender('[email protected]')
550+
// ->sender('Fabien <fabien@example.com>') (use this to add a display name)
547551
548552
;
549553

0 commit comments

Comments
 (0)