Email Configuration problem

Hi everyone…
First of all you should remove ; at beginning of each line related to config…

Sending mail is a serious problem for the most user using OJS. I solved this problem using SMTP gmail configuration and like to share my solution.

First Step:

Active SMTP gmail account

  • In your Google/Gmail account, go to Settings
  • Select the ‘Forwarding and POP/IMAP’ settings
  • Under the ‘IMAP access’ section, toggle on the option to ‘Enable IMAP.’
  • Then, on the right side (under your picture account) click on “manage your google account”
  • Select security tab and active 2-step verification.
  • Click on App Password, if you can find it click the following link: https://myaccount.google.com/apppasswords
  • Set password and in the "Select the app " section select “other (custom name)” item and set a favorite name for example: “SMTP”;
  • You will receive a password. keep this password for SMTP configuration on OJS.

Second step:

Setup OJS Config File

  1. Open config.inc.php file.

  2. Set these configurations

default = smtp

smtp = On

smtp_server = smtp.gmail.com

smtp_port = 465

smtp_auth = ssl

smtp_username = [example@gmail.com (account](mailto:example@gmail.com%20(account) which used in the first step)

smtp_password = your_receive_password (password which is received in the first step)

if you have own SMTP server, change gmail with your domain name.