Error sending e-mails in OJS


I’m in trouble with sending e-mails from OJS. I’ve tried from OJS 3.1.2 and OJS


[Fri May 15 09:34:44.654445 2020] [php7:notice] [pid 107364] [client x.x.x.x:11502]
SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A002F81, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:56260000, 1.36674:0E000000, 1.61250:00000000, 1.45378:5B260000, 1.44866:36020000, 16.55847:C2150000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FB88B1000103100000000, 20.50032:140FB88B8017000000000000, 0.35180:140FB88B, 255.23226:0A00 SMTP code: 554 Additional SMTP info: 5.2.0, referer: https://x.x.x./index.php/rev1/workflow/index/3/1

The server has connection with the smtp server:

telnet 587
Trying x.x.x.x…
Connected to
Escape character is ‘^]’.
220 Microsoft ESMTP MAIL Service ready at Fri, 15 May 2020 09:22:21 +0000

I’ve seen it fills email_log table with no data. email_log table is empty.

Can anybody help me?


Hi @asmecher,

Here you are more information about my about sending e-mails:

; allow_envelope_sender = Off
; default_envelope_sender =
; force_default_envelope_sender = Off
; force_dmarc_compliant_from = Off
; dmarc_compliant_from_displayname = ‘%n via %s’
time_between_emails = 3600
max_recipients = 10
require_validation = Off
validation_timeout = 14

I hope you can help me.
Thanks a lot.

Hi @rmga , if you test with other smtp on, same error?