Ignore:
Timestamp:
Jun 11, 2022 11:15:06 PM (2 years ago)
Author:
anonymous
Message:

Minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Email.inc.php

    r767 r770  
    372372        foreach ($headers as $key => $val) {
    373373            // Validate key and values.
    374             if (!strlen($val)) {
     374            if (!isset($val) || !strlen($val)) {
    375375                $app->logMsg(sprintf('Empty email header provided: %s', $key), LOG_NOTICE, __FILE__, __LINE__);
    376376                continue;
     
    447447        // Ensure message was successfully accepted for delivery.
    448448        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__);
    450450            return true;
    451451        } else {
Note: See TracChangeset for help on using the changeset viewer.