Browse Source

getting dkim

andre 6 months ago
parent
commit
6e312395c5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/Helper/DnsHelper.php

+ 3 - 1
core/Helper/DnsHelper.php

@@ -43,12 +43,14 @@ class DnsHelper
         }
         $dkimSet = $api->getDkimDnsRecord($this->params['domain']);
         $dkimArray = explode(PHP_EOL,$dkimSet['detail']);
+        $dkimValue = explode(":",$dkimArray[1]);
+        $this->domainKey = $dkimValue[1];
         logModuleCall(
             'kerioEmail',
             __FUNCTION__,
             $this->params,
             'Debug',
-            $dkimArray
+            $this->domainkey
         );
 
     }