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

0 commit comments

Comments
 (0)