summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail/Message.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Mail/Message.php')
-rw-r--r--lib/private/Mail/Message.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php
index e5a31b5cbe1..c8c48518d52 100644
--- a/lib/private/Mail/Message.php
+++ b/lib/private/Mail/Message.php
@@ -77,8 +77,8 @@ class Message implements IMessage {
$convertedAddresses = [];
- foreach($addresses as $email => $readableName) {
- if(!is_numeric($email)) {
+ foreach ($addresses as $email => $readableName) {
+ if (!is_numeric($email)) {
list($name, $domain) = explode('@', $email, 2);
$domain = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46);
$convertedAddresses[$name.'@'.$domain] = $readableName;