Skip to content

Commit 267223c

Browse files
committed
ACP2E-717: Emails are not sent for the email containing ".-"
1 parent fe31757 commit 267223c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/internal/Magento/Framework/Mail/Test/Unit/AddressConverterTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ public function convertDataProvider(): array
7070
'name' => 'Test',
7171
'emailExpected' => 'xn--tst-bma@example.com',
7272
'nameExpected' => 'Test'
73+
],
74+
[
75+
'email' => 'test.-email@example.com',
76+
'name' => 'Test',
77+
'emailExpected' => 'test.-email@example.com',
78+
'nameExpected' => 'Test'
79+
],
80+
[
81+
'email' => 'tést.-èmail@example.com',
82+
'name' => 'Test',
83+
'emailExpected' => 'xn--tst-bma.xn---mail-4ra@example.com',
84+
'nameExpected' => 'Test'
7385
]
7486
];
7587
}

0 commit comments

Comments
 (0)