Ojs email not sent, (masalah pada email ojs)

(ENGLISH)
OJS EMAIL SENT BY THE TIME I DO NOT SEND EMAIL OR AUTOMATED EMAIL NOTIFICATION …

CONFIG SETTING AND I HAVE THE FOLLOWING EMAIL BUT WILL STILL NOT WORKING …

PLEASE HELP . THANK YOU

(BAHASA INDONESIA)
EMAIL OJS SAYA TIDAK TERKIRIM PADA SAAT MENGIRIM EMAIL MAUPUN NOTIFIKASI EMAIL OTOMATIS…

DAN SAYA SUDAH SETTING CONFIG.INC.PHP SEBAGAI BERIKUT AKAN TETAPI EMAIL MASIH TIDAK BERFUNGSI…

MOHON BANTUANNYA . TERIMA KASIH

[email]

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

; SMTP server settings
smtp_server = “ssl://smtp.gmail.com”
smtp_port = 465

; Enable SMTP authentication
; Suppoerted mechanisms : PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = PLAIN
smtp_username = “MY EMAIL @gmail.com
smtp_password = “PASS EMAIL”

; 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 = my email@gmail.com

; 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

; Enable attachments in the various “Send Email” pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On

; 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

Hi @rizki,

What version of OJS are you using? (Please include this information in your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

I am using OJS 2.4.8.0.

thank to reply

error.log

[15-Mar-2017 09:05:15 UTC] OJS SMTPMailer: Could not authenticate

Please solution

thank

Hi @rizki,

Please be patient; we are a small team and will help as we’re able to.

Using GMail for SMTP service is not an uncommon configuration in OJS, so I don’t think it’s likely that OJS is broken in this regard. If you’re sure that your GMail credentials are accurate, then it may be that the TLS/OpenSSL library on your server is too old and GMail is not permitting connections. (I’m aware that this has happened before with connections to PayPal, but not GMail so far.) See http://php.net/manual/en/transports.inet.php for details on
the tls:// wrapper that PHP provides, which we use for TLS connections to GMail.

In order to debug this, I’d suggest working through the (short) authenticate_plain function in lib/pkp/classes/mail/SMTPMailer.inc.php. But before you start that, please do ensure that your GMail credentials are accurate.

Regards,
Alec Smecher
Public Knowledge Project Team

how and ap I need to do ?

is this what you mean ?

[email]

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

; SMTP server settings
smtp_server = “tls://smtp.gmail.com”
smtp_port = 587

thank

2017-03-15 23:30 GMT+08:00 M.RIZKI IMANUDDIN <
rizkiimanuddin@kesling-poltekkesbjm.com>:

whether there are steps to resolve the issue? Please guide me

thank"s

2017-03-15 23:37 GMT+08:00 M.RIZKI IMANUDDIN <
rizkiimanuddin@kesling-poltekkesbjm.com>:

Hi @M.RIZKI_IMANUDDIN,

No, diverging from the suggested configuration at https://pkp.sfu.ca/wiki/index.php?title=Using_gmail_SMTP will confuse things. I would suggest staying with that configuration, but double-checking your credentials and potentially debugging in the area of the code I identified.

Regards,
Alec Smecher
Public Knowledge Project Team

how to use the SMTP TSL 587 for ojs … does this work?

Hi @M.RIZKI_IMANUDDIN,

As far as I’m aware, using SMTP over port 587 with OJS works, though I haven’t tried it myself. See e.g. this thread.

Regards,
Alec Smecher
Public Knowledge Project Team

how to use the TLS server port 587 on OJS because I can not use the
server SSL port 465 …

please guidance how to use TLS port 587 …
because when I use the TLS port 587 to the error log appears =

[19-Mar-2017 15:31:48 UTC] ojs2 has produced an error
Message: WARNING: fsockopen(): Failed to enable crypto
In file:
/home/u3584193/public_html/ojs/lib/pkp/classes/mail/SMTPMailer.inc.php
At line: 134
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.4.45
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.54-cll
[19-Mar-2017 15:31:48 UTC] ojs2 has produced an error
Message: WARNING: fsockopen(): unable to connect to tls://
smtp.gmail.com:587 (Unknown error)
In file:
/home/u3584193/public_html/ojs/lib/pkp/classes/mail/SMTPMailer.inc.php
At line: 134
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.4.45
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.54-cll

Hi @M.RIZKI_IMANUDIN,

It looks like you also posted this under a different account at How to use the TLS server port 587 on OJS 2.8.0. Please stick to one account, and don’t double-post – it clutters the forum.

Regards,
Alec Smecher
Public Knowledge Project Team

Salam mas Rizki sebelumnya saya ingin bertanya alamat dari situs ojs anda dan tempat hosting yang anda gunakan karena kmungkinan besar tempat hosting yang anda gunakan tidak mensuport hal tersebut

http://ejournal.kesling-poltekkesbjm.com/

saya berlangganan hosting di niagahoster

terima kasih
Maulana Sani

Pada 21 Maret 2017 17.31, Maulana Sani pkp@forum.pkp.sfu.ca menulis:

http://ejournal.kesling-poltekkesbjm.com/

saya berlangganan hosting di niagahoster

terima kasih
Maulana Sani

Pada 21 Maret 2017 17.31, Maulana Sani pkp@forum.pkp.sfu.ca menulis:

Salam, setelah saya cek niagahoster telah memenuhi standar OJS jadi besar kemungkinan masalah ada pada OJS yang anda instal atau masalah ketika instalasi.

Perihal ini sebelumnya apakah Anda menginstal OJS secara manual melalui upload file langsung atau menggunakan pihak ke 3 seperti softaculous karena saya rasa menggunakanya lebih efisien

saya megupload file secara manual mas dengan menggunakan fillezilla … biasanya kesalahan nya dimana ya mass
mohon bantuannya

terima kasih

saya megupload file secara manual mas dengan menggunakan fillezilla …
biasanya kesalahan nya dimana ya mass
mohon bantuannya

terima kasih

Pada 21 Maret 2017 20.44, Maulana Sani pkp@forum.pkp.sfu.ca menulis: