Disabling emails

Disabling emails

by Stephen Hutchison -
Number of replies: 2

Hi,

I'm just testing to see if Moodle could work as an alternative to a commerical package we are currently using.  I want to test importing all my users but i don't want to confuse them with messages about their new account.

Is it possible to disable all emails?

I could just change their email addresses to dummy address but I prefer to keep things clean. 

Moodle version: 2.4beta+

thanks

Stephen

Average of ratings: -
In reply to Stephen Hutchison

Re: Disabling emails

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you add

$CFG->noemailever = true;

to your config.php file, that will do what it says.

You can learn a lot of tricks like this by looking through config-dist.php, which gives examples of lots of the things you can do in config.php.

Average of ratings: Useful (5)