Skip to content

Commit

Permalink
refs #39444, fix file not being created when no verified external fil…
Browse files Browse the repository at this point in the history
…e exists
  • Loading branch information
jimyhuang committed Mar 13, 2024
1 parent b48fa05 commit 14e3614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Utils/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ public static function validDKIMDomainList($externalOnly = FALSE, $saveFile = NU
if ($saveFile) {
$confPath = CRM_Utils_System::cmsRootPath().DIRECTORY_SEPARATOR.CRM_Utils_System::confPath().DIRECTORY_SEPARATOR;
$savePath = $confPath.basename($saveFile);
$existsDomains = array();
if (file_exists($savePath)) {
$existsList = file_get_contents($savePath);
$existsDomains = explode("\n", $existsList);
Expand Down

0 comments on commit 14e3614

Please sign in to comment.