File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,8 @@ and headers.
553553 framework :
554554 mailer :
555555 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)
557558 recipients : ['foo@example.com', 'bar@example.com']
558559 headers :
559560 From : ' Fabien <fabien@example.com>'
@@ -575,7 +576,9 @@ and headers.
575576 <framework : config >
576577 <framework : mailer >
577578 <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> -->
579582 <framework : recipients >foo@example.com</framework : recipients >
580583 <framework : recipients >bar@example.com</framework : recipients >
581584 </framework : envelope >
@@ -595,7 +598,8 @@ and headers.
595598 $mailer = $framework->mailer();
596599 $mailer
597600 ->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)
599603 ->recipients(['foo@example.com', 'bar@example.com'])
600604 ;
601605
You can’t perform that action at this time.
0 commit comments