Is it possible to disable the both smtp and mail () function in OJS 3.0.2.0?
We suspect that spam users are sending mails that we cannot stop.
Thanks
Is it possible to disable the both smtp and mail () function in OJS 3.0.2.0?
We suspect that spam users are sending mails that we cannot stop.
Thanks
Hi @vvucic,
To quickly disable all email sending, edit lib/pkp/classes/mail/Mail.inc.php
and add to the top of the send()
function:
return;
I’d be interested in more about this if you’re able to determine that OJS is being used in the way you describe.
Regards,
Alec Smecher
Public Knowledge Project Team
Hello, I guess that is line 452 if I have seen it properly.
Thanks