mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Update index.php
This commit is contained in:
parent
8c90bd9e46
commit
4ba90c115e
|
@ -55,7 +55,7 @@ class AutoDomainGrabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
if (!empty($aSmtpCredentials['Host']) && 'auto' === $aSmtpCredentials['Host'])
|
if (!empty($aSmtpCredentials['Host']) && 'auto' === $aSmtpCredentials['Host'])
|
||||||
{
|
{
|
||||||
$domain = substr(strrchr($oAccount->Email(), "@"), 1);
|
$domain = substr(strrchr($oAccount->Email(), "@"), 1);
|
||||||
$aImapCredentials['Host'] = $this->smtp_prefix.$domain;
|
$aSmtpCredentials['Host'] = $this->smtp_prefix.$domain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue