Skip to main content

Tutorial: Automated Editorial Email Service Setup

Role: Journal Manager / Site Administrator
Time: 20โ€“40 minutes
OJS Version: 3.5+

OJS can send automated editorial emails โ€” review reminders, decision notifications, and scheduled task emails โ€” without manual intervention. This tutorial covers configuring SMTP delivery and enabling automated email tasks.


Before You Startโ€‹

  • You have Journal Manager or Site Administrator access.
  • You have SMTP credentials from an email service provider. See Email Providers for free options.
  • The acron plugin or a system cron job is running (required for timed emails).

Part 1 โ€” Configure SMTP Deliveryโ€‹

Step 1 โ€” Edit config.inc.phpโ€‹

Site Administrators configure SMTP in config.inc.php:

[email]
; Use SMTP for sending email
smtp = On
smtp_server = smtp-relay.brevo.com
smtp_port = 587
smtp_auth = ssl
smtp_username = your@email.com
smtp_password = yourpassword

Common SMTP providers for OJS:

ProviderServerPortAuth
Brevo (Sendinblue)smtp-relay.brevo.com587TLS
SendGridsmtp.sendgrid.net587TLS
Mailgunsmtp.mailgun.org587TLS
Gmailsmtp.gmail.com587TLS
Amazon SESemail-smtp.us-east-1.amazonaws.com587TLS

Step 2 โ€” Test Email Deliveryโ€‹

  1. In OJS, go to Administration โ†’ Email โ†’ Send Test Email.
  2. Enter your own email address.
  3. Click Send.
  4. Check your inbox โ€” if the test email arrives, SMTP is configured correctly.

Part 2 โ€” Enable Automated Email Tasksโ€‹

OJS sends automated emails via its scheduled task system.

The acron plugin is a self-managed scheduled task runner โ€” it does not require a system cron job.

  1. Go to Settings โ†’ Website โ†’ Plugins โ†’ Installed Plugins.
  2. Find Acron and toggle to Enabled.

acron runs tasks (including timed review reminder emails) every time OJS receives a web request.

For better reliability, set up a system cron job:

crontab -e

Add this line to run OJS scheduled tasks every hour:

0 * * * * php /path/to/ojs/lib/pkp/tools/scheduler.php run >> /var/log/ojs-scheduler.log 2>&1

Replace /path/to/ojs with your actual OJS installation path.


Part 3 โ€” Configure Review Reminder Emailsโ€‹

Automated reminder emails help move submissions through the editorial workflow.

Step 1 โ€” Set Review Deadlinesโ€‹

  1. Go to Settings โ†’ Workflow โ†’ Review.
  2. Set the following:
    • Default response deadline (days): Number of days reviewers have to accept/decline.
    • Default review deadline (days): Number of days reviewers have to complete the review.
  3. Click Save.

Step 2 โ€” Enable Remindersโ€‹

  1. In Settings โ†’ Workflow โ†’ Review, scroll to the Reminders section.
  2. Set:
    • Send reminder to reviewer before response deadline (days before)
    • Send reminder to reviewer before review deadline (days before)
  3. Click Save.

OJS will automatically send reminder emails to reviewers on the configured schedule.


Part 4 โ€” Customise Email Templatesโ€‹

Customise the content of automated emails:

  1. Go to Settings โ†’ Workflow โ†’ Emails.

  2. Click any email template to edit.

  3. Key templates for editorial automation:

    • REVIEW_REQUEST โ€” sent when reviewer is invited
    • REVIEW_REMIND โ€” review reminder
    • REVIEW_CONFIRM โ€” reviewer accepts
    • EDITOR_DECISION_ACCEPT โ€” acceptance notification to author
    • EDITOR_DECISION_DECLINE โ€” rejection notification to author
  4. Edit subject and body. Use {$variableName} placeholders for dynamic content.

  5. Click Save.


Troubleshootingโ€‹

ProblemSolution
Emails not sendingCheck SMTP credentials; test with "Send Test Email" in Administration
Reminder emails not going outEnsure acron plugin is enabled or cron job is running
Emails going to spamUse a dedicated SMTP service; add SPF, DKIM, DMARC DNS records for your domain
Emails sent with wrong senderSet Email Signature and Return address in Settings โ†’ Workflow โ†’ Emails

Next Stepsโ€‹