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

email_to_user() sends emails even if email processor is disabled

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              simoncoggins Simon Coggins
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: