Update index.php

This commit is contained in:
Abbatis 2018-02-03 13:15:55 +01:00 committed by GitHub
parent 8c90bd9e46
commit 4ba90c115e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class AutoDomainGrabPlugin extends \RainLoop\Plugins\AbstractPlugin
if (!empty($aSmtpCredentials['Host']) && 'auto' === $aSmtpCredentials['Host'])
{
$domain = substr(strrchr($oAccount->Email(), "@"), 1);
$aImapCredentials['Host'] = $this->smtp_prefix.$domain;
$aSmtpCredentials['Host'] = $this->smtp_prefix.$domain;
}
}
}