There was a problem sending an email message. Please try again later, or contact your system administrator. What should I do?

The system is not sending emails to authors, reviewers, etc. Whenever, I assign a paper to reviewers or editors, this message pops. Please see the message on right top corner of the image attached below.

We are currently using OJS 3.3.0.8

Hi @Dr_Dharen_Kumar_Pand

you’ll need to talk to the systems administrator for the server that is hosting your installation. There will be detailed error messages in the Apache error log for this.

Best
Jason

Thank you for the suggestion. I will get back after this.

The error log reads as “Could not instantiate mail function.” Please suggest possible solutions

Hi @Dr_Dharen_Kumar_Pand

This only happens in one situation - if OJS cannot use PHP’s mail function the error will appear. There may be a reason why your host is not allowing you to use the PHP mail function, but that’s outside of the help that I can provide here.

Best
Jason

My hosting provider says that there is no such error from there end. They tried a test mail using PHP and SMTP, both were able to send messages.

[07-Apr-2023 11:05:23 UTC] PHP Warning: Declaration of EmailReviewerForm::execute($submission, …$functionArgs) should be compatible with Form::execute(…$functionArgs) in /home/ta0ov9cnmfqk/public_html/lib/pkp/controllers/grid/users/reviewer/form/EmailReviewerForm.inc.php on line 72
[07-Apr-2023 11:05:32 UTC] PHP Warning: Declaration of EmailReviewerForm::execute($submission, …$functionArgs) should be compatible with Form::execute(…$functionArgs) in /home/ta0ov9cnmfqk/public_html/lib/pkp/controllers/grid/users/reviewer/form/EmailReviewerForm.inc.php on line 72
[07-Apr-2023 11:05:48 UTC] Could not instantiate mail function.

Please help. I am getting the above errors