Mail server configuration

Hi,

I freshly installed OJS 3.3.0.14. I want to configure SMTP server but I don’t know what I’m doing wrong.
I checked telnet and our network monitoring system and ojs connects with mail server.
In error.log I have:
“…SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub…”.

Here is my config.inc.php file:

;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;

[email]

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

; SMTP server settings
  smtp_server = a.b.c.d
  smtp_port = 25

; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
; smtp_auth = ssl
; smtp_username = username
; smtp_password = password

We don’t use authentication in our mail server.

Hi @gruszkini,

Our documentation goes into more detail on configuring email in OJS: https://docs.pkp.sfu.ca/admin-guide/3.3/en/email - that might help.

-Roger
PKP Team

Thank you @rcgillis, but this doc is not helpful. As I wrote in previous message, I configured OJS via config.ini.php to send mails over SMTP server but it doesn’t work.