You are viewing the PKP Support Forum | PKP Home Wiki

Email to authors not being sent

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Email to authors not being sent

Postby ramon » Fri Apr 16, 2004 8:26 am


I was testing the email to all authors and something´s not right.

I tried the forgot password and that one worked.. So it´s a problem with the file, not the system. But I don´t know where to start.

I noticed that the switch statement was different, but I´m not sure if that´s the problem...
Code: Select all
From admin/editor/authors.php ##
switch($op) {
   case "record":
      viewAuthorRecord((int) $id);
   case "email":
   case "send_email":
   case "delete":
      deleteAuthor((int) $id);

Code: Select all
from forgotpw.php ###
// perform selected function
switch($op) {
   case "send":

thanks to all
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Postby kevin » Fri Apr 16, 2004 11:41 am

There is indeed a small bug in admin/editor/authors.php:

Code: Select all
Index: admin/editor/authors.php
RCS file: /cvs/ojs/admin/editor/authors.php,v
retrieving revision 1.61
diff -u -r1.61 authors.php
--- a/admin/editor/authors.php  17 Feb 2004 03:29:40 -0000      1.61
+++ b/admin/editor/authors.php  16 Apr 2004 18:40:40 -0000
@@ -316,7 +316,7 @@
        $vars[mailbody] .= "\n\n--\n" . sprintf(_tr('NOTIFICATION_UNSUBSCRIBE_EMAIL_FOOTER'), $baseurl . "login.php");
        // get list of authors to send emails to
-       $sql = "SELECT chFirstName, chMiddleInitial, chSurname, chEmail FROM tblauthors, tblusers where nAuthorID = fkAuthroID ";
+       $sql = "SELECT chFirstName, chMiddleInitial, chSurname, chEmail FROM tblauthors, tblusers where nAuthorID = fkAuthorID ";
        if(!empty($vars[id])) { $sql .= "and nAuthorID IN ('" . join("', '", $vars[id]) ."') "; }
        $sql .= "ORDER BY nAuthorID";
        $result = $db->query($sql);

Thanks for pointing that out.
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest