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

Expose $CFG->noemailever in UI when set in config.php

XMLWordPrintable

    • MOODLE_28_STABLE
    • MOODLE_403_STABLE
    • MDL-49827-noemailever-ui
    • Easy
    • Hide
      1. Set this same setting via config.php
        $CFG->noemailever = 1;
      2. Visit /admin/settings.php?section=outgoingmailconfig
      3. Confirm you see a warning that emails are disabled at the top of the admin page
      4. Visit /admin/testoutgoingmailconf.php
      5. Confirm you see a warning that emails are disabled
      Show
      Set this same setting via config.php $CFG->noemailever = 1; Visit /admin/settings.php?section=outgoingmailconfig Confirm you see a warning that emails are disabled at the top of the admin page Visit /admin/testoutgoingmailconf.php Confirm you see a warning that emails are disabled

      As confirmed in the comments, we just add the current state of the setting only.

      ---------

      I would like to request a new feature to be able to disable all outgoing messages from a Moodle site from within the interface... so in essence a "Silent Mode".

      This would disable any emails sent out for new account creation or forgot passwords. With that being said it would be important to add a warning that this would make password recovery impossible.

      The reason for this feature is that many times when a site is being setup it is unwanted to have email messages sent to users. Or for other scenario's of it being a development or testing site and again notification to users being unwanted.

      I believe there is a setting in the configuration file to disable the emails which can be leveraged to work with a configuration setting from the interface of Moodle.

      Thanks!

      Tasks:

      • Expose the setting as an admin setting
      • show a warning on the email test page

      Other potential tasks:

      • Warn or disable the email password recovery flow on the login page
      • warn or disable the tickbox when an admin is editing a user to send out a password

            Naga Naga Sirisha Garapati
            b101 Ben Young
            Brendan Heywood Brendan Heywood
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            11 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 23 minutes
                23m

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