General developer forum

How to send a notification email to the admin when a student enrolls through Enrollment code

 
Picture of Baiju Sharma
How to send a notification email to the admin when a student enrolls through Enrollment code
 

I need to send similar email template as it is sent to admin when a student enrolled himself through PayPal.

Below is the email template.Do I need to do through code or is there an addition Moodle setting available.

Derek M II has enrolled in course "Safety Course -  Security"

 
Average of ratings: -