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

Allow all emails to be redirected to a single address

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.9.9, 2.0
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      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';

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              mudrd8mz David Mudrák added a comment -

              The proposed patch implementing the feature. Waiting for +1

              Show
              mudrd8mz David Mudrák added a comment - The proposed patch implementing the feature. Waiting for +1
              Hide
              mudrd8mz David Mudrák added a comment -

              Committed into HEAD. To be backported to 1.9.9 after the end of the current code freeze

              Show
              mudrd8mz David Mudrák added a comment - Committed into HEAD. To be backported to 1.9.9 after the end of the current code freeze
              Hide
              mudrd8mz David Mudrák added a comment -

              Backported into MOODLE_19_STABLE, too.

              Show
              mudrd8mz David Mudrák added a comment - Backported into MOODLE_19_STABLE, too.

                People

                • Assignee:
                  mudrd8mz David Mudrák
                  Reporter:
                  mudrd8mz David Mudrák
                  Participants:
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    8/Jun/10