Jika anda pernah mengalami kesulitan (dibuat stres) dalam mensetting (pengaturan) email pada OJS versi 3 baik 3.1.10, 3.1.1.2, 3.1.2.0, 3.1.2.1 maka anda sudah tepat mempraktekan artikel ini.

Pada saat anda membuat user pada OJS 3, jika pengaturan email anda tidak tepat maka email tidak akan terkirim ke user yang telah dibuat.

Problem:

Mohon bantuan teman-teman, jurnal kami sampai saat ini belum bisa mengirimkan notifikasi secara otomatis ke user, misalnya ketika register, maka tidak terkirim notifikasi otomatis ke email pendaftar. Kira-kira masalahnya dimana? Mohon solusinya.
Terima kasih.

Tampilan notifikasi dari OJS akan menampilkan:

There was a problem sending email message. Please try again later, or contact your system administrator

pesan error

Asumsi: Anda sudah memiliki email domain misalnya admin@jurnaldomainanda.ac.id, dan anda memiliki 1 buah email gmail misalnya jurnaldomainanda@gmail.com

Langkah-Langkah

  • Login ke cpanel hosting Anda
  • ke menu File Manager
  • Masuk ke folder directory installasi OJS berada
  • cari file bernama “config.inc.php”
  • Cari pada bagian “Email Settings

Default kode config.inc.php:

;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;

[email]

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

; SMTP server settings
; smtp_server = mail.example.com
; smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
; smtp_auth = ssl
; smtp_username = username
; smtp_password = password

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

; Default envelope sender to use if none is specified elsewhere
; default_envelope_sender = my_address@my_host.com

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

; Force a DMARC compliant from header (RFC5322.From)
; If any of your users have email addresses in domains not under your control
; you may need to set this to be compliant with DMARC policies published by
; those 3rd party domains.
; Setting this will move the users address into the reply-to field and the
; from field wil be rewritten with the default_envelope_sender.
; To use this you must set force_default_enveloper_sender = On and
; default_envelope_sender must be set to a valid address in a domain you own.
; force_dmarc_compliant_from = Off

Lihat Petunjuk Gambar untuk mensettingnya:

Contoh
email administrator:  admin@jurnal.sttbaptisbandung.ac.id 
Password: ABCDEF
Smtp server: jurnal.sttbaptisbandung.ac.id
smtp port = 25

Pada config.inc.php – Silahkan edit Kode berikut:

;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;
[email]
; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = jurnal.sttiefrata.ac.id
smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = tls
smtp_username = "admin@jurnal.sttiefrata.ac.id"
smtp_password = “ABCDEF”

; 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 = cs.pesonaweb@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

; 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

Selamat mencoba jika ada kesulitan silahkan hubungi kami.

Silahkan baca juga cara update OJS 3.1.2.1 ke versi OJS terbaru versi 3.1.2.4