Good way to change the sender email address

Dear All,

we are having a hard time to configure our OJS3.1 to get the sender of ALL emails to be the principal email address of the Journal. The documentation shows it is done that way: Email
but we do have different sender on the mails. Is there a way to make ALL mails arrive from the primary email address, as it is written in the documentation?

Apart from that, how can we set who is signing the emails, and which email adresses are set in the reply-to? For instance, reviewers are reached by the section editors, but all automatic reminders are signed by the principle contact. We would like to change that too.

The documentation here is slightly inaccurate with respect to the way OJS/OMP handle this. Currently OJS/OMP do not modify the From, but rather modify only the Envelope Sender, which is different. We anticipate this changing to match the documentation again based on the resolution of this issue:

I’m not sure if I understood everything correctly, but following many links from what you sent, I found this one:

Could this be what I’m looking for?


This is a plugin which @ajnyga wrote to address this issue. The functionality there (or something very like it) will presumably be rolled into the core application in the future. In the meantime, installing and enabling this plugin should accomplish your goal.

Just a note about the plugin that it needs the master branch version of I think it could be edited to use the current stable version as well fairly easily (have not worked on it much since the feature is going to be there in the core soon).

Thanks, I hope @mauser1 can solve the install, he cannot see the plugin yet in the list of plugins, although the install seemed to finish without a problem. Any advice to him?



Ojs version:
Download:GitHub - ajnyga/useGlobalSender: When force_envelope_sender is enabled, replace all from fields with envelope_sender address

I create tar.gz and webinstall.

root@cyber://tesztcyber/plugins/generic#ls -al

drwxr-xr-x 3 www-data www-data 125 nov 13 16:39 useGlobalSender

files OK.
But I do not see it on the website.

SQL is OK!!
select * from versions;

| 1 | 1 | 0 | 0 | 2018-11-13 16:39:59 | 1 | plugins.generic | useGlobalSender | UseGlobalSenderPlugin | 1 | 1 |

I tried another plugin.
That’s all right.

I tried Apache reload, restart , and clear data cache.

what is the folder name of the plugin on your installation? is it plugins/generic/useGlobalSender

tesztcyber/plugins/generic# ls -al useGlobalSender/
összesen 28
drwxr-xr-x  3 www-data www-data  125 nov   13 16:39 .
drwxr-xr-x 23 www-data www-data 4096 nov   13 16:39 ..
-rw-r--r--  1 www-data www-data   49 nov   13 16:39 .gitignore
drwxr-xr-x  4 www-data www-data   30 nov   13 16:39 locale
-rw-r--r--  1 www-data www-data  299 nov   13 16:39
-rw-r--r--  1 www-data www-data  502 nov   13 16:39 settings.xml
-rw-r--r--  1 www-data www-data 5468 nov   13 16:39
-rw-r--r--  1 www-data www-data  609 nov   13 16:39 version.xml

Do you still need another plugin?

There is no php error when I list the plugins.

mysql> select * from versions where product="useGlobalSender";
| major | minor | revision | build | date_installed      | current | product_type    | product         | product_class_name    | lazy_load | sitewide |
|     1 |     1 |        0 |     0 | 2018-11-16 11:26:25 |       1 | plugins.generic | useGlobalSender | UseGlobalSenderPlugin |         1 |        1 |
1 row in set (0.00 sec)

mysql> select * from plugin_settings where plugin_name="useGlobalSender";
Empty set (0.00 sec)

tesztcyber/plugins/generic/useGlobalSender# cat settings.xml

<!DOCTYPE plugin_settings SYSTEM "../../../dtd/pluginSettings.dtd">
	<setting type="bool">

Hi @ajnyga,
could you help us please? The plugins seems to be installed, but there are no change in the emails, and the plugin does not appear on the plugins page. @mauser1 has put here the information about the install, if that helps.

Thanks in advance,

When you are trying to enable this plugin, are you logged in as the site administrator, or as a journal manager? I believe only the Site Administrator will have the ability to enable this plugin.

We were trying to enable it as site administrator of course, but the plugin does not appear on the list.


@bog and @mauser1, have you resolved the discrepancy of @ajnyga’s comment here and your comment of the OJS version?

Ojs version:

Everything else seems to be correct.


It does require the master branch version of to work, but I do not think it is the reason why it is not shown in the plugins listing. It should if it is under plugins/generic/ folder. Does it show if you check the site settings and the plugin listing there?

Disclaimer: the plugin itself is very experimental and not much tested!


Finally, our technicians solved the problem, and it works now! :slight_smile: The problem was that the plugin in the present form does not have the index.php file, so they have prepared one. You may consider including that in the plugin, so others can use it as well.

Thanks for the plugin, it works very well! :smiley:

oops, thanks.

Dear All,

we have just found out, that the email_log table does not contains any of the new emails since we have installed the useGlobalSender plugin. Is that normal? Where can I see the emails then?

Thanks in advance,