Error sending emails with Exchange

I use Exchange 2013 and do not allow me to send emails, Ojs version 3.1.1, in the account I have active Relay

This is our configuration:

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server =
smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
;smtp_username = “”
;smtp_password = “”

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On

Thank you !

Hi @freddy,

I haven’t used Exchange specifically, but those settings don’t look right – for SSL, your port is probably not 25; also, you’ll probably need to provide credentials.

Alec Smecher
Public Knowledge Project Team

Hi Alec, please tell me in what directory the OJS LOGs are stored, in order to see the error in the mailing?



Hi @freddy,

OJS logs its errors in the PHP error log. There’s a FAQ entry for information on how to find this. If nothing is logged there, and you don’t see an error message when you try to send a message, it’s likely that your mail server is accepting the messages but failing to deliver them; you might need to check your mail server’s log to debug that.

Alec Smecher
Public Knowledge Project Team