Skip to content

Commit ba140cc

Browse files
committed
Merge branch '4.4'
* 4.4: Restored the Address::fromString() example [Mailer][Mime] NamedAddress was removed in 4.4 [Mailer] Address::fromString() is not available in 4.3
2 parents 018c850 + 4dff16c commit ba140cc

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

145145
// defining the email address and name as an object
146146
// (email clients will display the name)
147-
->from(new NamedAddress('[email protected]', 'Fabien'))
147+
->from(new Address('[email protected]', 'Fabien'))
148148

149149
// defining the email address and name as a string
150150
// (the format must match: 'Name <[email protected]>')

0 commit comments

Comments
 (0)