OJS does not send emails from smtp

Hi! I’m trying to set up sending emails through the gmail mailbox. I use the following settings:

; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = smtp.gmail.com
smtp_port = 465
; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
smtp_username = email@gmail.com
smtp_password = password

When I try to send a message through ojs, nothing happens. Please, help. I’m using the latest version.

1 Like

I’m a symptom like this. Is there any solution yet?

My suggestion is to turn

show_stacktrace = On

In your config.inc.php file and start looking at the logs for your Apache installation. You’ll get more information. Here’s another thread with more information. OJS 3.0.1 is not sending any emails - #23 by sgr

Cheers,
Jason