Error sending e-mails in OJS

Hi,

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

image

[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 smtp.office365.com 587
Trying x.x.x.x…
Connected to smtp.office365.com.
Escape character is ‘^]’.
220 MR2P264CA0124.outlook.office365.com 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?

Thanks.
Regards.

Hi @asmecher,

Here you are more information about my config.inc.php about sending e-mails:

; allow_envelope_sender = Off
; default_envelope_sender = my_address@my_host.com
; 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.
Regards.

Hi @rmga , if you test with other smtp on config.inc.php, same error?

Thanks