Skip to content

Commit 4dff16c

Browse files
committed
minor #12512 [Mailer][Mime] NamedAddress was removed in 4.4 (ogizanagi)
This PR was merged into the 4.4 branch. Discussion ---------- [Mailer][Mime] NamedAddress was removed in 4.4 It was removed in 4.4 (symfony/symfony#33270) in favor of using Address with a second arg. Commits ------- 9b6eb23 [Mailer][Mime] NamedAddress was removed in 4.4
2 parents 2b5a917 + 9b6eb23 commit 4dff16c

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)