mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
IDNA support (beta)
This commit is contained in:
parent
0ca00dec40
commit
e82108ac85
31 changed files with 3839 additions and 308 deletions
|
|
@ -249,7 +249,7 @@ abstract class PdoAbstract
|
|||
return $aCache[$sEmail];
|
||||
}
|
||||
|
||||
$sEmail = \strtolower(\trim($sEmail));
|
||||
$sEmail = \MailSo\Base\Utils::IdnToAscii(\trim($sEmail), true);
|
||||
if (empty($sEmail))
|
||||
{
|
||||
throw new \InvalidArgumentException('Empty Email argument');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue