mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +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
|
|
@ -7,9 +7,9 @@ class SmtpUseFromAdrAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
NAME = 'Use From-Address-Account for smtp',
|
||||
AUTHOR = 'attike',
|
||||
URL = 'https://github.com/attike',
|
||||
VERSION = '1.1',
|
||||
RELEASE = '2024-03-10',
|
||||
REQUIRED = '2.23.0',
|
||||
VERSION = '1.1',
|
||||
RELEASE = '2024-03-12',
|
||||
REQUIRED = '2.35.3',
|
||||
CATEGORY = 'Filters',
|
||||
DESCRIPTION = 'Set smpt-config and -credentials based on selected from-address-account';
|
||||
|
||||
|
|
@ -88,9 +88,9 @@ class SmtpUseFromAdrAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
if ( isset($this->aFromAccount[$oAccount->Email()]) ) {
|
||||
$oFromAccount = $this->aFromAccount[$oAccount->Email()];
|
||||
unset($this->aFromAccount[$oAccount->Email()]);
|
||||
$oSettings->Login = $oFromAccount->OutLogin();
|
||||
$oSettings->useAuth = $oFromAccount->Domain()->SmtpSettings()->useAuth;
|
||||
$oSettings->Password = $oFromAccount->IncPassword();
|
||||
$oSettings->username = $oFromAccount->OutLogin();
|
||||
$oSettings->passphrase = $oFromAccount->IncPassword();
|
||||
\SnappyMail\LOG::info(get_class($this),'user/pwd rewrite: '. $oFromAccount->Email());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue