mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 02:59:21 +03:00
Improved handling of Internationalized Domain Names in punycode
This commit is contained in:
parent
fd54796710
commit
696a2bbd3c
45 changed files with 661 additions and 236 deletions
|
|
@ -57,7 +57,7 @@ class ChangePasswordHMailServerDriver
|
|||
$this->oConfig->Get('plugin', 'hmailserver_password', '')
|
||||
)) {
|
||||
$sEmail = $oAccount->Email();
|
||||
$sDomain = \MailSo\Base\Utils::GetDomainFromEmail($sEmail);
|
||||
$sDomain = \MailSo\Base\Utils::getEmailAddressDomain($sEmail);
|
||||
$oHmailDomain = $oHmailApp->Domains->ItemByName($sDomain);
|
||||
if ($oHmailDomain) {
|
||||
$oHmailAccount = $oHmailDomain->Accounts->ItemByAddress($sEmail);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue