Skip to content

Commit 7fb696a

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Update example to use Address format
2 parents 487c9ad + 0ecdd12 commit 7fb696a

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
@@ -522,6 +522,7 @@ and headers.
522522
mailer:
523523
envelope:
524524
sender: 'fabien@example.com'
525+
# sender: 'Fabien <fabien@example.com>' (use this to add a display name)
525526
recipients: ['foo@example.com', 'bar@example.com']
526527
headers:
527528
From: 'Fabien <fabien@example.com>'
@@ -544,6 +545,8 @@ and headers.
544545
<framework:mailer>
545546
<framework:envelope>
546547
<framework:sender>fabien@example.com</framework:sender>
548+
<!-- use this to add a display name:
549+
<framework:sender>Fabien &lt;fabien@example.com&gt;</framework:sender> -->
547550
<framework:recipients>foo@example.com</framework:recipients>
548551
<framework:recipients>bar@example.com</framework:recipients>
549552
</framework:envelope>
@@ -564,6 +567,7 @@ and headers.
564567
$mailer
565568
->envelope()
566569
->sender('fabien@example.com')
570+
// ->sender('Fabien <fabien@example.com>') (use this to add a display name)
567571
->recipients(['foo@example.com', 'bar@example.com'])
568572
;
569573

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy