Hi Ian,
This feature isn't currently available in OJS, but it's trivial to add -- look at classes/author/form/submit/AuthorSubmitStep5Form.inc.php at approximately line 89. The following call adds the author to the email's recipient list:
- Code: Select all
$mail->addRecipient($user->getEmail(), $user->getFullName());
You'd simply have to add something like the following, just before or after the above line:
- Code: Select all
$mail->addRecipient($journal->getSetting('contactEmail'), $journal->getSetting('contactName'));
This would add the journal's primary contact (as per Journal Setup, page 1) as a recipient.
In general, if you want to find the code that's responsible for sending an email, the easiest approach is to find the email's key. Look in the Journal Manager's email management page, find the email you want to track down, and make a note of the key (e.g. COPYEDIT_ACK). Now search the code for that key, and you'll find something similar to what I've noted above.
Regards,
Alec Smecher
Open Journal Systems Team