From 4ba90c115e93d0e2a06b871435ebe670435dad90 Mon Sep 17 00:00:00 2001 From: Abbatis <33043295+abbatis@users.noreply.github.com> Date: Sat, 3 Feb 2018 13:15:55 +0100 Subject: [PATCH] Update index.php --- plugins/auto-domain-grab/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auto-domain-grab/index.php b/plugins/auto-domain-grab/index.php index 65ec29b84..b4bfc5763 100644 --- a/plugins/auto-domain-grab/index.php +++ b/plugins/auto-domain-grab/index.php @@ -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; } } }