OJS 3.0.2 can't send Gmail

Hello everyone,

I can’t send email in OJS, i tried some tropics but it does not work.

I have to tried all combinations, port 587, 465, 25, ssl, tls, allow_sender on, off and i don’t found many tropics about the version

OJS Version:

My config.inc

; Email Settings ;


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

; SMTP server settings
; smtp_server = smtp.gmail.com
; smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
; smtp_auth = ssl
; smtp_username = myemail
; smtp_password = mypassword

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

; Default envelope sender to use if none is specified elsewhere
default_envelope_sender = myemail

; Force the default envelope sender (if present)
; This is useful if setting up a site-wide noreply address
; The reply-to field will be set with the reply-to or from address.
; force_default_envelope_sender = Off

; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
time_between_emails = 3600

; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
max_recipients = 10

; If enabled, email addresses must be validated before login is possible.
require_validation = Off

; Maximum number of days before an unvalidated account expires and is deleted
validation_timeout = 14

OBS: i have another ojs version 2.x that email works.

Hi @Revista_Integrart_Fa,

Lines beginning with ; are considered comments and will be ignored.

Alec Smecher
Public Knowledge Project Team

1 Like