Disable email confirmation after enrollment

Disable email confirmation after enrollment

by D V -
Number of replies: 25
I have done a search google/moodle and have not come up with a definitive answer.

Is it possible to disable the email confirmation after enrollment??

If you know how or can point me in the right direction that you be much appreciated.

Cheers,
Steve
Average of ratings: -
In reply to D V

Re: Disable email confirmation after enrollment

by Mariana Curado Malta -
After erollment in what? A moodle forum? A course? The moodle itself?
In reply to Mariana Curado Malta

Re: Disable email confirmation after enrollment

by D V -
Enrollment for a module.

Currently I have it so the student does not have to enroll and is automatically enrolled in all modules upon registration. So the student then gets 7 emails at in their email box. eg "welcome to module 1"

I wont to disable the emails after enrollment to the modules

Cheers,
Steve


In reply to D V

Re: Disable email confirmation after enrollment

by D V -
I have been searching this forum and still have not come up with a way to stop the email confirmation after enrollment for a module.

I found this page but it seems to be referring to older versions.
http://moodle.org/mod/forum/discuss.php?d=18583

My version is 1.8.2
Currently uses register into the course, receive a welcome email, which is good, what is not good is they are also recieving 8 "Welcome to module 1,2,3 etc." emails, as they are automatically enrolled in all modules.

Am I missing something, is it simple and can be turned off in Admin????

Please please help,

In reply to D V

Re: Disable email confirmation after enrollment

by Steve Bond -
Even in normal circumstances, this welcome email seems vexatious. If left at default, the only information it contains is:

"Welcome to coursename" (polite, but hardly necessary) plus an exhortation to fill in one's profile, which is redundant after it has been received the first time.

I would like to be able to turn this off, sitewide at least, but preferably at the course level. I think I'll put this on Tracker (unless I'm missing something, and it's already possible to do this).

Steve
In reply to Steve Bond

Re: Disable email confirmation after enrollment

by LauriBeth Hull -
I just upgraded form 1.4 to 1.9 and am having trouble finding how to disable the sending of emails. My students don't have emails and in the old version it was no problem but in this one my testing shows it throws up an error page and takes them to the profile page after that when they try to login. IT becomes a catch 22.

Thanks, LauriBeth
In reply to LauriBeth Hull

Re: Disable email confirmation after enrollment

by Vicktorya Stone -

I also have problems with people getting the 'fill in your profile' email message; what is the status? (1.9)

In reply to Vicktorya Stone

Re: Disable email confirmation after enrollment

by Scott Karren -

According to MDL-15846 this has been done.  I have 1.9.2+ and have the option to turn off email confirmations in the course admin menu.

Scott

In reply to Scott Karren

Re: Disable email confirmation after enrollment

by Rosalyn Metz -
I'm currently in the course admin menu and i still don't see it. Can you be a little more specific?

thanks,
Rosalyn
In reply to Scott Karren

Re: Disable email confirmation after enrollment

by LauriBeth Hull -

I don't see it either an dhave the additional problem that if a student has to use a made up email they can't confirm email change and it won't let them move forward into the course until it gets the confirmation or I, have them cancel email request and I, as admin, enter the email address.

Any way to turn off the change request being required.

LB

In reply to LauriBeth Hull

Re: Disable email confirmation after enrollment

by Jeff Snow -
We have the same issue with this "confirm email" did anyone find exactly where to turn it off?
In reply to Jeff Snow

Re: Disable email confirmation after enrollment

by João Fernandes -
In reply to João Fernandes

Re: Disable email confirmation after enrollment

by Vicktorya Stone -
Thank you for that link; this seems to be exactly what we need. It's basically just adding the "//" so it is like a REM line (yes?) Great. Simple!
Appreciation --
_________
but whoops ? -- after trying this -- that file doesn't exist for me.
version 1.9

I could only find that line in this file:
lib\moodlelib.php *
The code next to it has a rem // statement about removing the email colnfirmation, around line 4460 .. *

However, what this line directs to do is to make the message string blank.
What do we do with this?
Thanks,
Vic

*
/// If you don't want a welcome message sent, then make the message string blank.
if (!empty($message)) {
$subject = get_string('welcometocourse', '', format_string($course->fullname));

if (! $teacher = get_teacher($course->id)) {
$teacher = get_admin();
}
email_to_user($user, $teacher, $subject, $message);
}
}
In reply to Vicktorya Stone

Re: Disable email confirmation after enrollment

by Karen Taylor -
Did anyone work this out? I am using 1.9.2 ...?

Thanks
Karen
In reply to Karen Taylor

Re: Disable email confirmation after enrollment

by Karen Taylor -
Finally I found it...
Using the ADMIN menu
admin > courses> enrollments>
Set 'Send course welcome message' to NO...

Average of ratings: Useful (2)
In reply to Karen Taylor

Re: Disable email confirmation after enrollment

by Jason Ward -
Nothing of real value to add but a big THANK YOU for saving me time, for a second I thought I'd have to go and edit Moodle core code to stop this. I never scrolled through the lists of enrollment types.

Lifesaver, for sure :D
In reply to Jason Ward

Re: Disable email confirmation after enrollment

by Sara Bozzini -
Thanks Vicktorya for your post! We have a 1.9.1 and I really didn't know how to manage for stopping these welcome emails!

Now it works! smile
Thanks again!

Sara
In reply to Karen Taylor

Re: Disable email confirmation after enrollment

by Joe Rowe -
thanks. i did not want to edit my pHp. I'm glad you found this. I too had to hunt. I gave up and found your advice. yea.
In reply to Karen Taylor

Re: Disable email confirmation after enrollment

by Phil Everist -

for Moodle 2.x the option to disable email confirmation is part of the enrolment method settings Site administration   Plugins   Enrolments   Self enrolment

Average of ratings: Useful (2)
In reply to LauriBeth Hull

Re: Disable email confirmation after enrollment

by Ebenezer Le Page -

using 1.9 + (Build: 20080331) and still unable to turn this off.

the swtich in the Admin interface is not yet in this version and I have had no success with eidting  /lib/moodlelib.php.  has anyone managed to comment out a line in this version that stops the emails for new course enrolments leaving?

In reply to Ebenezer Le Page

Re: Disable email confirmation after enrollment

by Thomas Hanley -
Hi Ebenezer,

I am using 1.9.7 and the setting described above is present. Have just tested it in my installation and it all works.

The setting again is:

admin > courses> enrollments>

Set 'Send course welcome message' to 'No'

Hope this helps.

~thomas
In reply to Thomas Hanley

Re: Disable email confirmation after enrollment

by Jake Nolan -

This worked for my 1.9.7.

I'm now on 2.0 and still trying to figure out where to find it

In reply to Jake Nolan

Tárgy: Re: Disable email confirmation after enrollment

by János Rudan -

I've found it finally:

in enrol/self/lib.php, line 235. should be commented out.

This disables email sending while self-enrolling to a course.

In reply to János Rudan

Re: Tárgy: Re: Disable email confirmation after enrollment

by Doi Tran -

In Moodle 2.++ it still works. You dont need to hack code like that. For old course you need to update Self enrollment by unchecking "Send course welcome message" checkbox (Course Administrator -> User -> Enrollmentmethod -> click the setting icon of self enrollment). The new settings on self enrollment plugin (Site -> Plugin -> Enrollment -> Self Enrollment) just apply for new course.