Commit ee8c613
committed
feature #58361 [Mailer][Mime] Support unicode email addresses (arnt, OskarStark)
This PR was merged into the 7.2 branch.
Discussion
----------
[Mailer][Mime] Support unicode email addresses
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| License | MIT
This allows applications to send mail to all-Chinese email addresses, or like my test address grå`@gr`å.org. Code that uses Symfony needs no change and should experience no difference, although if the upstream MTA doesn't support it (most do by now) then an exception is thrown slightly later than before this change.
Commits
-------
b1deef8ff3 Reinstate the restriction that the sender's localpart must be all-ASCII.
c11d6e068d Code style conformance and dependency updates.
3fbbb235d6 Resolve code review comments from stof and oska
8597c1ee8d Update src/Symfony/Component/Mime/Address.php
2d74b98061 Fix minor spelling error.
6f07a17bbf Send SMTPUTF8 if the message needs it and the server supports it.
d43b8329f2 Add new accessors to help determine whether to use the SMTPUTF8 extension2 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
120 | 140 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
0 commit comments