We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12c6b20 + 21c0088 commit f952d0fCopy full SHA for f952d0f
mailer.rst
@@ -144,7 +144,7 @@ both strings or address objects::
144
145
// defining the email address and name as an object
146
// (email clients will display the name)
147
- ->from(new Address('fabien@example.com', 'Fabien'))
+ ->from(new NamedAddress('fabien@example.com', 'Fabien'))
148
149
// defining the email address and name as a string
150
// (the format must match: 'Name <email@example.com>')
@@ -296,7 +296,7 @@ for Twig templates::
296
297
$email = (new TemplatedEmail())
298
->from('fabien@example.com')
299
- ->to(new Address('ryan@example.com', 'Ryan'))
+ ->to(new Address('ryan@example.com'))
300
->subject('Thanks for signing up!')
301
302
// path of the Twig template to render
0 commit comments