Hello OJS community,
We’re a publisher of medical journals from Indonesia. Currently we’re having a problem sending email on OJS. Previously it was worked like a charm and running well for months, but yesterday it just stopped working. We have contacted our hosting company, just in case they changed the email service port or anything like that, but the service had nothing change.
For the information, we have been applying force_default_envelope_sender shown in this link pkp/pkp-lib#1723: force_default_envelope_sender moves the traditional from to a reply-to for DMARC compliance by ctgraham · Pull Request #1724 · pkp/pkp-lib · GitHub.
This is the error message and the stacktrace we got:
There was an error sending this email. Please check your mail log (/var/log/maillog).
Stack Trace:
File: /home/u1231757/public_html/lib/pkp/classes/mail/PKPMailTemplate.inc.php line 237
Function: Mail->send()
File: /home/u1231757/public_html/classes/mail/MailTemplate.inc.php line 163
Function: PKPMailTemplate->send(False)
File: /home/u1231757/public_html/classes/mail/ArticleMailTemplate.inc.php line 66
Function: MailTemplate->send(False)
File: /home/u1231757/public_html/pages/user/EmailHandler.inc.php line 155
Function: ArticleMailTemplate->send(Object(Request))
File: (unknown) line (unknown)
Function: EmailHandler->email(Array(0), Object(Request))
File: /home/u1231757/public_html/lib/pkp/classes/core/PKPRouter.inc.php line 362
Function: call_user_func(Array(2), Array(0), Object(Request))
File: /home/u1231757/public_html/lib/pkp/classes/core/PKPPageRouter.inc.php line 220
Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False)
File: /home/u1231757/public_html/lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPPageRouter->route(Object(Request))
File: /home/u1231757/public_html/lib/pkp/classes/core/PKPApplication.inc.php line 178
Function: Dispatcher->dispatch(Object(Request))
File: /home/u1231757/public_html/index.php line 64
Function: PKPApplication->execute()
We also get this email sending failure notification which categorize our email as spam:
A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:
This message was classified as SPAM and may not be delivered
------ This is a copy of your message, including all the headers.
------ No more than 100K characters of the body are included.
Received: from u123 by hoster.com with local (Exim 4.87)
(envelope-from <enquiry@ourdomain.org>)
id 1cDiDU-002nXV-9q
for n@hotmail.com; Mon, 05 Dec 2016 08:37:16 +0700
To: "N" n*****@hotmail.com
Subject: [PI] Article Review Request
X-PHP-Script: ourdomain.org/index.php for 36.70.8.98
X-PHP-Filename: /home/u123***
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=“==boundary_663a205c881ef1e9078b423d52a3fb7c”
Return-Path: enquiry@*ourdomain.org
From: enquiry@ourdomain.org
X-Mailer: Public Knowledge Project Suite v2
X-Originating-IP: 36.70.8.98
Date: Mon, 05 Dec 2016 01:37:16 +0000
Reply-To: "Dr" k****@gmail.com
Message-Id: <E1cDiDU-002nXV-9q@.com>
Sender: <u123@****hoster.com>
This message is in MIME format and requires a MIME-capable mail client to view.
–==boundary_663a205c881ef1e9078b423d52a3fb7c
Content-Type: text/plain; charset=utf-8
N******:
I believe that you would serve as an excellent reviewer of the manuscript,
What should we do? Thank you very much for the advise and the attention given.
with best regards,
Sisca