OJS 3.0.1 is not sending any emails

Are you saying that the emails are not delivered to your own domain? If so, this is likely due to SPF and or DMARC rules for your domain. The host on which OJS is installed needs to be trusted by your domain; check with your network administrator for more details.

Hi PKP Forum,
I am contributing a solution that worked for me (a total noob) for this problem, so maybe it will help someone else out there, too. I also struggled to get SMTP email with a gmail account working. The forums suggested

  1. set the SMTP settings (https://pkp.sfu.ca/wiki/index.php/Using_gmail_SMTP) in config.inc.php
  2. check firewall settings

$ nc -zv smtp.gmail.com 465

Connection to smtp.gmail.com 587 port [tcp/submission] succeeded!

Then it was supposed to work. A couple hours of struggling later, I realized that I edited the wrong config file.

MORAL OF THE STORY:

Edit

/var/www/html/config.inc.php

NOT

/var/www/ojs/config.inc.php

(oops). Live and learn…

Hi @sgr,

We have all done this at some time or other. Glad it’s working.

Regards,
Alec Smecher
Public Knowledge Project Team