Skip to content

Commit 672c4d5

Browse files
committed
use Address::create() instead of fromString()
1 parent b2fc382 commit 672c4d5

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)