Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@ both strings or address objects::
:class:`Symfony\\Component\\Mailer\\Event\\MessageEvent` event to set the
same ``From`` email to all messages.

.. note::

The local part of the address (what goes before the ``@``) can include UTF-8
characters, except for the sender address (to avoid issues with bounced emails).
For example: ``föóbàr@example.com``, ``用户@example.com``, ``θσερ@example.com``, etc.

.. versionadded:: 5.2

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

Multiple addresses are defined with the ``addXXX()`` methods::

$email = (new Email())
Expand Down