stopping email confirmation

stopping email confirmation

by Felmon Davis -
Number of replies: 4
this may be something obvious that I'm overlooking - I just installed last night.
it looks like participants receive an email everytime they post to a forum.
I do not want this behavior; how do I turn it off?
Felmon
Average of ratings: -
In reply to Felmon Davis

stopping email copies of forum posts

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Users get automatically subscribed to forums they post to.

No option to turn this off currently, but you could hack it in mod/forum/post.php ... remove this:

if ( ! forum_is_subscribed($USER->id, $post->forum) ) {
    forum_subscribe($USER->id, $post->forum);
}

Your users can also easily unsubscribe themselves using the link on each message.

In reply to Martin Dougiamas

Re: stopping email copies of forum posts

by Felmon Davis -
I guess I'm a bit unclear about how this is supposed to work. I want up to 40 students to post messages and replies in discussion. if we are successful, there will sometimes be numerous exchanges. if 10 students write 10 messages, each of them (and I) will receive 100 messages in their email boxes all repeating stuff they can read on-line anyway.
this is the behavior I want to stop. I commented out the lines you referred to and wrote a message; I still received the email copy. maybe I need to restart the session.
F.
In reply to Felmon Davis

Re: stopping email copies of forum posts

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
The thing is: will they read it online and when will they read it? I find email is essential to keeping up the pace and involvement.

Two things to stop the mail:

1. Make sure you're unsubscribed from the forum - you can do this using the link at the bottom of the message, or using the "unsubscribe" links from the forum views.

2. Stop the auto-subscribe-on-post by removing that code I pointed out (note that it appears TWICE in that file.)
In reply to Martin Dougiamas

Re: stopping email copies of forum posts

by Dr. Prin Singhanart -
I'm facing this problem just now... number of students increased astonishingly around 176 so far. Then there's an assignment for student to submit their answers on the furum so that every one can also see. Also another assigntment for each group to post the news into forum...

Lots of students emailed me there were 170 emails in their mailbox for the last couple of days and keep coming all the time and the mail service isn't happy about that.

Even I tried to put up notice telling them to unsubscribe themselves after posting... they just didn't read the news..

If I remove that code... does it mean news forum will no longer email to all members? I really need the option to be able to turn on or off email sending in specific forum... not all forums ...so any suggestion?