This weekend, I upgraded Moodle from 3.1.5 to 3.3.4. Before the upgrade, the student information systems manager would send a flat file to a Moodle directory for processing, which would enroll the students in the proper courses and send a great log of the activity to the administrator email address.
After the upgrade, the file still processes and students still get enrolled, but the administrator email address is not getting a copy of what happened, and I'm not seeing why, and am hoping someone here has faced this before. I'm not even sure where to look in Moodle for an email error log or stuck messages.
--the correct administrator email is in the Site administration > Registration screen. (Our email was before and remains Gmail, so that hasn't changed.)
--Under Plugins>Flat file (CSV), Notify administrator is checked.
--I compared /enrol/flatfile/lib.php from both versions since the older messages show that as the generating script in the header and the only differences I found were in the lines that seem to create the email:
3.1.5: $eventdata = new stdClass();
3.3.4: $eventdata = new \core\message\message ();
I'm not sure if I should switch them--if the new way of writing that line is a new 3.3 thing, or? I'd love any advice or guidance anyone has, and if I haven't provided enough info, I'd be happy to provide more.