File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,8 @@ and headers.
553
553
framework :
554
554
mailer :
555
555
envelope :
556
- sender : ' Fabien <fabien@example.com>'
556
+ sender : ' fabien@example.com'
557
+ # sender: 'Fabien <fabien@example.com>' (use this to add a display name)
557
558
recipients : ['foo@example.com', 'bar@example.com']
558
559
headers :
559
560
From : ' Fabien <fabien@example.com>'
@@ -575,7 +576,9 @@ and headers.
575
576
<framework : config >
576
577
<framework : mailer >
577
578
<framework : envelope >
578
- <framework : sender >Fabien < fabien@example.com> </framework : sender >
579
+ <framework : sender >fabien@example.com</framework : sender >
580
+ <!-- use this to add a display name:
581
+ <framework:sender>Fabien <fabien@example.com></framework:sender> -->
579
582
<framework : recipients >foo@example.com</framework : recipients >
580
583
<framework : recipients >bar@example.com</framework : recipients >
581
584
</framework : envelope >
@@ -595,7 +598,8 @@ and headers.
595
598
$mailer = $framework->mailer();
596
599
$mailer
597
600
->envelope()
598
- ->sender('Fabien <fabien @example.com >')
601
+ ->sender('fabien@example.com')
602
+ // ->sender('Fabien <fabien @example.com >') (use this to add a display name)
599
603
->recipients(['foo@example.com', 'bar@example.com'])
600
604
;
601
605
You can’t perform that action at this time.
0 commit comments