Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-746

Email alerts are not being sent to users external email addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7, 1.8, 1.9
    • 1.9.1
    • Block: Email_list
    • None
    • MOODLE_19_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Copied from this discussion - http://moodle.org/mod/forum/discuss.php?d=106627:

      "The option for send notified mail to users doesn't work with the version 1.4.
      The reason is the following line of block_email_list.php script:

      if ( $preferences->trackbymail === 1 and $CFG->email_trackbymail == 1 ) {

      The function var_dump show that " $preferences->trackbymail" is string(1) type. So, the condition is false and the warnings to the user's email address are not send."

      I've verified that changing the above line to the following results in correct email alerts when the preference is set -

      if ( $preferences->trackbymail == 1 and $CFG->email_trackbymail == 1 ) {

            tmas Toni Mas
            adamann2 Ann Adamcik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.