Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42954

email_to_user() sends emails even if email processor is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Major Major
    • None
    • 2.6
    • Libraries, Messages
    • MOODLE_26_STABLE

      There are still a few places in Moodle which call email_to_user() directly rather than going through the messaging system (for example forum email digests).

      A client of ours has noticed that while email_to_user() makes use of email processor configuration settings such as $CFG->smtphosts, it continues to send messages even if the email processor is disabled.

      I take their point that this is not entirely consistent behaviour.

      Would this be considered a bug?

            dobedobedoh Andrew Lyons
            simoncoggins Simon Coggins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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