Skip to content

Commit 155c190

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: [Mailer] Update mailer.rst
2 parents c6fdcd5 + fb57e4e commit 155c190

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mailer.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,13 @@ both strings or address objects::
327327

328328
Support for UTF-8 characters in email addresses was introduced in Symfony 5.2.
329329

330-
Multiple addresses are defined with the ``addXXX()`` methods::
330+
Use ``addTo()``, ``addCc()``, or ``addBcc()`` methods to add more addresses::
331331

332332
$email = (new Email())
333333
->to('foo@example.com')
334334
->addTo('bar@example.com')
335-
->addTo('baz@example.com')
335+
->cc('cc@example.com')
336+
->addCc('cc2@example.com')
336337

337338
// ...
338339
;

0 commit comments

Comments
 (0)