We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 795148e commit 50ab3eeCopy full SHA for 50ab3ee
mailer.rst
@@ -542,6 +542,10 @@ both strings or address objects::
542
// email address as a simple string
543
->from('fabien@example.com')
544
545
+ // non-ASCII characters are supported both in the local part and the domain;
546
+ // if the SMTP server doesn't support this feature, you'll see an exception
547
+ ->from('jânë.dœ@ëxãmplę.com')
548
+
549
// email address as an object
550
->from(new Address('fabien@example.com'))
551
@@ -556,6 +560,11 @@ both strings or address objects::
556
560
// ...
557
561
;
558
562
563
+.. versionadded:: 7.2
564
565
+ Support for non-ASCII email addresses (e.g. ``jânë.dœ@ëxãmplę.com``)
566
+ was introduced in Symfony 7.2.
567
559
568
.. tip::
569
570
Instead of calling ``->from()`` *every* time you create a new email, you can
0 commit comments