General help

 
 
Picture of Stephen Hutchison
Disabling emails
 

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: -
Tim at Lone Pine Koala Sanctuary
Re: Disabling emails
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

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)
Picture of Stephen Hutchison
Re: Disabling emails
 

thanks Tim - that's exactly what I was looking for. smile

 
Average of ratings: -