Skip to content

Commit 2dd3ed4

Browse files
committed
Readded a NamedAddress example
1 parent a906482 commit 2dd3ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ both strings or address objects::
148148

149149
// defining the email address and name as an object
150150
// (email clients will display the name)
151-
->from(new Address('fabien@example.com'))
151+
->from(new NamedAddress('fabien@example.com', 'Fabien'))
152152

153153
// defining the email address and name as a string
154154
// (the format must match: 'Name <email@example.com>')

0 commit comments

Comments
 (0)