Skip to content

Commit 6150a96

Browse files
committed
minor #13797 [Mime] use Address::create() instead of fromString() (xabbuh)
This PR was merged into the master branch. Discussion ---------- [Mime] use Address::create() instead of fromString() fixes #13788 Commits ------- 672c4d5 use Address::create() instead of fromString()
2 parents b2fc382 + 672c4d5 commit 6150a96

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 a string
151151
// (the format must match: 'Name <[email protected]>')
152-
->from(Address::fromString('Fabien Potencier <[email protected]>'))
152+
->from(Address::create('Fabien Potencier <[email protected]>'))
153153

154154
// ...
155155
;

0 commit comments

Comments
 (0)