- Timestamp:
- Jun 11, 2022 11:15:06 PM (2 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Email.inc.php
r767 r770 372 372 foreach ($headers as $key => $val) { 373 373 // Validate key and values. 374 if (! strlen($val)) {374 if (!isset($val) || !strlen($val)) { 375 375 $app->logMsg(sprintf('Empty email header provided: %s', $key), LOG_NOTICE, __FILE__, __LINE__); 376 376 continue; … … 447 447 // Ensure message was successfully accepted for delivery. 448 448 if ($ret) { 449 $app->logMsg(sprintf('Email successfully sent to %s ', $final_to), LOG_INFO, __FILE__, __LINE__);449 $app->logMsg(sprintf('Email successfully sent to %s: %s', $final_to, $this->_params['subject']), LOG_INFO, __FILE__, __LINE__); 450 450 return true; 451 451 } else { -
trunk/lib/Utilities.inc.php
r768 r770 1373 1373 } else { 1374 1374 $app =& App::getInstance(); 1375 $app->logMsg(sprintf('Failed signature (%s should be %s)', $signed_val, addSignature($val, $salt, $length)), LOG_DEBUG, __FILE__, __LINE__); 1375 // A signature mismatch might occur if the signing_key is not the same across all environments, apache, cli, etc. 1376 $app->logMsg(sprintf('Failed signature (%s should be %s).', $signed_val, addSignature($val, $salt, $length)), LOG_DEBUG, __FILE__, __LINE__); 1376 1377 return false; 1377 1378 } -
trunk/lib/Validator.inc.php
r769 r770 348 348 } 349 349 350 if ($strict && getmxrr('checkdnsrr', $hosts_notused) && !getmxrr($domain)) {350 if ($strict && function_exists('getmxrr') && !getmxrr($domain, $hosts_notused)) { 351 351 // Strict tests: check if MX record exists. 352 352 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
Note: See TracChangeset
for help on using the changeset viewer.