Problem with Microsoft 365 mail

Describe the issue or problem
Hi! I have an issue with OJS when the emails have to be sent.

Steps I took leading up to the issue
My configuration is the following:
[email]

default = smtp

smtp = On

smtp_server = smtp.office365.com

smtp_port = 587

smtp_debug = 2

smtp_auth = tls

smtp_username = sample@edu.school.mx

smtp_password = [password here]

force_default_from = On

smtp_from_address = sample@edu.school.mx

allow_envelope_sender = Off

default_envelope_sender = sample@edu.school.mx

force_default_envelope_sender = On

force_dmarc_compliant_from = On

dmarc_compliant_from_displayname = ‘%n via %s’

require_validation = Off

validation_timeout = 14

What application are you using?
OJS 3.5.0-1 (I updated the OJS version; I had OJS 3.4.0, and the present configuration was working on that version).

Thanks, if more information is needed, I am at your service and have a good day.

Hi @enrih,

As a starting point, you could try some of the advice offered here: Problem sending email from Microsoft 365

Or documentation also offers some advice: https://docs.pkp.sfu.ca/admin-guide/3.3/en/email

-Roger
PKP Team

The first thing I’d try is turning this On. The other settings look OK to me.

Also, if you haven’t done it already, in OJS 3.5.0-1 you need to apply this patch for the DMARC-compliant From to work.