Context: I am a Systems Administrator who knows very little about OJS. I’m responsible for maintaining two servers hosting OJS instances. The person who actually set up these journals has left my institution, and the editors of the journals do not work for my institution. I’m in over my head with managing anything within OJS.
Problem: It was brought to my attention by one of the editors of one hosted journal that outgoing e-mails from the system all appear to be coming from the journal address (firstname.lastname@example.org) (which is fine), but that for some e-mail templates, the reply-to is defaulting to that journal address instead of going back to the editor’s address. Is there a way to change the reply-to setting to default to the editor who triggered the e-mail?
Apparently it was working the way they wanted it, until the recent upgrade from OJS v18.104.22.168 to v22.214.171.124
In particular, this is affecting the Review Request Oneclick template, and multiple Editor Decision templates, but there are probably others.
Additional Info: This OJS instance is configured to use Gmail SMTP.
I did find some related topics already:
That second one in particular intrigued me, as it sounds like there was a deliberate change at some point that would explain what’s happening, except for the fact that this journal was on a newer version than 2.4.6 before the upgrade.
The issue might actually be that you’re using Gmail SMTP; if I recall correctly, it automatically rewrites the sender to the account holder’s address. I’m not sure whether/how it affects the reply-to address. Do you have another SMTP server you could try using?
Public Knowledge Project Team
Also, we don’t really want e-mail for this journal going through our SMTP server. As stated previously, the journal is not owned/managed by us; as far as I’m aware, we’re only hosting it because one of the editors used to work at our institution, or something like that.
I’ll try changing the SMTP server on a test copy of the server, just to gather some data, but ideally a solution would allow us to keep using Gmail SMTP.
With SMTP set to our local SMTP server, if I send an e-mail directly to a user, it looks like it’s coming FROM the logged-in account: Sender Name “Sender Personal Address”.
With SMTP set to smtp.gmail.com, if I send an e-mail directly to a user, it looks like it’s coming FROM the logged-in account name, with the journal e-mail address: Sender Name “Journal E-mail Address”
However, if I click Reply To on that second e-mail, the reply is going back to the Sender Personal Address, not the generic Journal E-mail Address. This means when e-mails are sent through gmail SMTP, it supports having a Reply To different from the From address.
To me, this means the issue is specific to the affected e-mail templates. Is there any way to change the Reply To configuration on e-mail templates without having to edit PHP?
The reply-to addressing is hard-coded in the workflow, I’m afraid. However, if you want to take the Recipient address and make it a Reply-to, that should be a single modification (lib/pkp/classes/mail/Mail.inc.php in the send function). That’s where OJS maps its emails into the PHPMailer library for sending.
Public Knowledge Project Team
I’m with same problem here.
Using gmail in OJS2, the reply to field was automatically filled in by the journal’s email.
Now OJS3 just ignore it and send with the gmail account.
That’s a huge problem here, we have 185 journals.
Is there a way to get back to the old behavior? That would solve a gigantic problem in communication.
Today someone needs to look the mail that we use just to send.
I think the best thing to do when it is not possible to change the sender’s email is to put that email as a reply to.
I’m wondering if there’s any progress on this or if people who have had this problem have figured out any effective workarounds.
We’re using OJS (126.96.36.199) and are also having the issue of the reply-to field being filled with the journal email. This is quite an impediment that adds a lot of friction to our workflow, since it means that for each article, the journal editor has to forward the email to the responsible section editor.
We are also using Gmail for SMTP. However, from what I’m reading from this thread, this looks like an issue with the email templates.
To anyone else who has had this issue: have you effectively changed their templates or modified their OJS installation to alleviate this issue? Would you mind sharing your modifications? (Also, do you need to re-apply your fixes after each update?)
In general, to any OJS developers: it would be really great if this behavior could be changed or exposed through an option. It would go a long way to making editorial workflows smoother.
We (at UofC) are on OJS ojs-3.1.2-4. We also ran into this same issue where the reply email should be to “a journal editor” instead it went to “the journal administrator email”. And this issue only happens on a certain journals and not all journals, some other email templates in different journals works as expected.
I have tried to modify the roles of “a journal editor” for the problematic journal hoping by changing roles it will correct the issue, but that did not solve. I am willing to modify the email templates (codes) for that journal, but not sure where to find the code. Can you please point me? Or is there any better resolution, suggestion will be much appreciated.