Disabling emails

Disabling emails

על ידי Stephen Hutchison בתאריך
מספר תגובות: 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

ממוצע דרוגים: -
בתגובה ל: Stephen Hutchison

Re: Disabling emails

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של 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.