Skip to content

Commit 9b6eb23

Browse files
committed
[Mailer][Mime] NamedAddress was removed in 4.4
1 parent 7788c43 commit 9b6eb23

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
@@ -149,7 +149,7 @@ both strings or address objects::
149149

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

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

0 commit comments

Comments
 (0)