Send notifications(email) to students when they enroll the course.

Send notifications(email) to students when they enroll the course.

av Komal Barde -
Antall svar: 7

Hi All,

I want to send notification mail after enrolling user into course.

Once users are enrolled with manual enrollment then mail will be generated for enrolled users.

Any help will be much appreciated.

Thanks.
Gjennomsnittlig vurdering: -
Som svar til Komal Barde

Re: Send notifications(email) to students when they enroll the course.

av Mary Cooch -
Bilde av Documentation writers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Testers Bilde av Translators

If you can add plugins, perhaps this welcome plugin might help? https://moodle.org/plugins/view/local_welcome

Som svar til Mary Cooch

Re: Send notifications(email) to students when they enroll the course.

av Komal Barde -

Hi Mary,

Thanks for you reply.

I have installed that local_welcome plugin,but it is sending a welcome message to new users, sends a notification to a moderator of the new user creation but not manual enrollment of user to course.

Is there any other plugin to achieve this?


Thanks.

Som svar til Komal Barde

Re: Send notifications(email) to students when they enroll the course.

av Mary Cooch -
Bilde av Documentation writers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Testers Bilde av Translators

Ah yes - apologies- I was thinking of new users and not new course participants. If you are bulk enrolling them then I guess you could use the News forum to which everyone is automatically subscribed to send out a welcome message? But if you enrol them manually one at a time or just a few at a time then that's not a useful solution.

Gjennomsnittlig vurdering:Useful (1)
Som svar til Mary Cooch

Re: Send notifications(email) to students when they enroll the course.

av Peter Bowen -

You could use "Cohort Greeting" to do this

https://moodle.org/plugins/view/enrol_elediacohortgreeting

You would add people to the cohort rather than enrolling them.

Cheers
Peter


Som svar til Peter Bowen

Re: Send notifications(email) to students when they enroll the course.

av Nishant Pandya -

Hey Peter Bowen. I don't think so that this is a proper solution. I am developing a site for my client.

So this is not good that client first create cohort & then put the students on that & then send them a message.

Please help anybody. I want same that when admin can enrol any student for any course then student will get notification on email that you are enrol for this course & you can start learning.

Thanks,

Nishant

Som svar til Nishant Pandya

Re: Send notifications(email) to students when they enroll the course.

av Aviwe Foji -

Hi Nashant Pandya ,


Did you manage to get any solution for this? 


Thank you. 

Som svar til Aviwe Foji

Re: Send notifications(email) to students when they enroll the course.

av Nishant Pandya -

Hi Aviwe Foji,


I have achieved by using below ways:


- Open the file root\enrol\manual\ajax.php

- First add below code to top

 

require_once($CFG->libdir.'/moodlelib.php');

 

$body = "You have been enrolled to course"." ".$course->fullname."<br/><br/>"."Please login to start your course."."<br/><br/>"."Thanks,"."<br/>LogicStrat Admin"; 

 

- Then find the code json_encode($outcome); & add below code in above this json.

 

Add email_to_user($user,$USER,'Enrollment Notification','The text of the message',$body);

 

- Then save & check when admin can manually enroll a course to student then student will get the notification.


Gjennomsnittlig vurdering:Useful (5)