I want to add an email notification so that whenever there is a new registration, an email is sent to the journal’s primary contact. To do this I add the email sending function in “…/classes/user/form/RegistrationForm.inc.php”.
It works fine when I provide a hard coded email address as recipient.
My question is: inside the RegistrationForm.inc.php, function execute(), how I can get the journal’s primary contact (which is set in Setup Step 1) ?