We are running moodle 3.3 with IIS8.5 on windows 2012 r2.
I have been searching through many discussions about sending automatic emails when enrolling a cohort but have yet to find a helpful solution. I have seen where some have made changes to the /enrol/cohort/lib.php file but they posted their code changes to github which I was able to see but cannot download it and am not sure where to add it in the code. I have attached a screenshot of the file.
Has anyone else run into this and resolved it by making code changes?
We need an email to be sent out when we enroll a cohort to a mandatory class.
Any suggestions or options would be truly appreciated! Thank you!