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

Allow all emails to be redirected to a single address

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 1.9.9, 2.0
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      This feature has similar purpose as $CFG->noemailever. If $CFG->divertallemailsto is set, the email_to_user() will use this address instead of the standard recipient's $user->email. Therefore developers working on an emailing feature can easily track all outgoing emails.

      Example: in config.php

      $CFG->divertallemailsto = 'some.email@localhost.local';

      Attachments

        1. MDL-18903.patch
          1 kB
          David Mudrák (@mudrd8mz)

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              mudrd8mz David Mudrák (@mudrd8mz)
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Jun/10