Cara setting smtp email gmail ojs

Bagi kita pengelola jurnal notifikasi email sangatlah penting. Setiap aktifitas pada proses bisnis penerbitan jurnal harus mengirimkan notifikasi kepada pengelola maupun penulis. Notifikasi yang dikirim diantaranya seperti tabel dibawah ini:

Name
Sender Recipient Subject
Citation Editor Author Query - - Citation Editing
Copyedit Request Subscription Manager Subscription Manager Copyediting Request
Editor Assign Subscription Manager Subscription Manager Editorial Assignment
Editor Decision Accept Subscription Manager Author Editor Decision
Editor Decision Decline Subscription Manager Author Editor Decision
Editor Decision Initial Decline Subscription Manager Author Editor Decision
Editor Decision Resubmit Subscription Manager Author Editor Decision
Editor Decision Revisions Subscription Manager Author Editor Decision
Editor Decision Send To External Section Editor Author Editor Decision
Editor Decision Send To Production Section Editor Author Editor Decision
Editor Recommendation Section Editor Journal Manager Editor Recommendation
Email Link Reader - Article of Possible Interest
Layout Complete Subscription Manager Subscription Manager Galleys Complete
Layout Request Subscription Manager Subscription Manager Request Galleys
Lockss Existing Archive - - Archiving Request for {$contextName}
Lockss New Archive - - Archiving Request for {$contextName}
Manual Payment Notification - - Manual Payment Notification
Notification - - New notification from {$siteTitle}
Notification Center Default - - A message regarding {$contextName}
Open Access Notify - Reader Issue Now Open Access
Orcid Collect Author Id - - Submission ORCID
Password Reset - - Password Reset
Password Reset Confirm - - Password Reset Confirmation
Paypal Investigate Payment - - Unusual PayPal Activity
Publish Notify - - New Issue Published
Reviewer Register - - Registration as Reviewer with {$contextName}
Review Ack Subscription Manager Reviewer Article Review Acknowledgement
Review Cancel Subscription Manager Reviewer Request for Review Cancelled
Review Confirm Reviewer Subscription Manager Able to Review
Review Decline Reviewer Subscription Manager Unable to Review
Review Remind Subscription Manager Reviewer Submission Review Reminder
Review Remind Auto - Reviewer Automated Submission Review Reminder
Review Remind Auto Oneclick - Reviewer Automated Submission Review Reminder
Review Remind Oneclick Subscription Manager Reviewer Submission Review Reminder
Review Request Subscription Manager Reviewer Article Review Request
Review Request Attached Subscription Manager Reviewer Article Review Request
Review Request Attached Subsequent Subscription Manager Reviewer Article Review Request
Review Request Oneclick Subscription Manager Reviewer Article Review Request
Review Request Oneclick Subsequent Subscription Manager Reviewer Article Review Request
Review Request Remind Auto - Reviewer Article Review Request
Review Request Remind Auto Oneclick - Reviewer Article Review Request
Review Request Subsequent Subscription Manager Reviewer Article Review Request
Revised Version Notify - Subscription Manager Revised Version Uploaded
Submission Ack - Author Submission Acknowledgement
Submission Ack Not User - Author Submission Acknowledgement
Subscription After Expiry - Reader Subscription Expired
Subscription After Expiry Last - Reader Subscription Expired - Final Reminder
Subscription Before Expiry - Reader Notice of Subscription Expiry
Subscription Notify - Reader Subscription Notification
Subscription Purchase Indl - - Subscription Purchase: Individual
Subscription Purchase Instl - - Subscription Purchase: Institutional
Subscription Renew Indl - - Subscription Renewal: Individual
Subscription Renew Instl - - Subscription Renewal: Institutional
User Register - - Journal Registration
User Validate - - Validate Your Account

Daftar notifikasi diatas harus terkirim, media yang digunakan yaitu email. Pada ojs terdapat fitur untuk mengirim email notifikasi tersebut, yaitu dengan fitur smtp. Fitur ini pada beberapa server atau hosting ojs sudah aktif, namun ada beberapa hosting panel seperti cpanel menonaktifkan fitur tersebut dengan alasan keamanan.

Solusinya kita menggunakan smtp dari pihak ketiga, salah satunya menggunakan smtp dari google. Caranya kita harus memiliki email google. Selanjtunya kita edit config di server kita. Langkahnya:

  • Cari file config.inc.php kemudian edit.
  • cari baris beikut ini
;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 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

  • Ganti text yang bertanda merah dengan isian seperti dibawah ini:

; 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
smtp_auth = PLAIN
smtp_username = "emailjurnal@gmail.com"
smtp_password = "password"
isikan sesuai dengan email gmail yang kita miliki. kemudian save file tersebut.

Beberapa konfig diatas berhasil namun juga masih banyak yang terkadang tidak berhasil atau notifikasi email tidak berjalan. Masalah terjadi karena security google tidak mengijinkan.

Solusinya kita konfig di sisi email kita.

  1. Login gmail
  2. akses alamat berikut https://myaccount*google.com/u/2/lesssecureapps?pageId=none
  3. Ganti (*) dengan (.)

Aktifkan Izinkan aplikasi yang kurang aman atau  Allow less secure apps: OFF.


Setelah mengikuti konfigurasi dari awal sampai akhir, silahkan coba notifikasi ojs Anda dengan cara reset password Anda untuk mengetahui notifikasi email Ojs.

  • Masukkan email yang telah terdaftar, klik reset password
  • kemudian cek pada email anda

  • kita cek isi email tersebut

  • ujicoba telah berhasil.
Semoga bermanfaat :)

Baca juga
Cara setting smtp email gmail ojs Cara setting smtp email gmail ojs Reviewed by Kuliahkomputer on Thursday, July 11, 2019 Rating: 5

No comments:

Powered by Blogger.