Problems with Koha mail notifications

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Koha mail notifications

ggardei
Greetings, I really need help with some issues I am having with sending out email notifications


The check in and check out email notifications are not sent out at all.
The due reminder, overdue, and adcanced notice  notifications are sent; but the fields are blank


Example


Dear Esther HOLLOWAY,

The following item(s) will be due soon:

,  ()

------------


Dear BillMARSHALL,

According to our current records, you have items that are overdue. Please return or renew them as soon as possible.

Flexon Library  

The following items are overdue:
 by



-----

Dear Abel AKANBI,

The following item is now due:

,  ()

---

Also; when I run the script overdue_notices.pl, i get the following errors

Use of uninitialized value in pattern match (m//) at /usr/share/koha/bin/cronjobs/overdue_notices.pl line 659.
Use of uninitialized value in pattern match (m//) at /usr/share/koha/bin/cronjobs/overdue_notices.pl line 670.




George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

Melia Meggs-2
Hi,

> The check in and check out email notifications are not sent out at all.

Patrons can choose whether they want to receive checkin or checkout emails.
 Have you checked to make sure that you have some patrons who have elected
to receive checkin/checkout emails in their messaging preferences?  If you
look at the patron record, under "Patron messaging preferences" the boxes
under "Email" and beside "Item checkout" and "Item checkin" need to be
checked there.

> The due reminder, overdue, and adcanced notice  notifications are sent;
but
> the fields are blank

What does your notice text look like?  If your notices use
<<items.content>> then you also need to set up the cron jobs accordingly.

Here is a post that might help you get the correct notice text:
http://bywatersolutions.com/2012/04/13/putting-item-information-into-notices/

And here is a link to the relevant section of the Koha manual:
http://manual.koha-community.org/3.8/en/tools.html#notices
You can find an example of correct overdue notice markup here.

If you go to Tools > Notices & Slips and copy/paste the message body of
your notice into this email, then we could help you correct it!

Thanks,

Melia
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

ggardei
Thank you for the response, this was very helpful.

Almost all of the borrowers were inputted through a CSV file so none of them have email preferences. Is there a script I can run that will automatically set the borrowers email preferences? I think we want them to be on by default.

From the behavior of the emails I have been receiving  notifications from borrowers whom do not have email preferences set are receiving overdue and about to be due messages.



George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

Galen Charlton-3
Hi,

On Thu, Oct 4, 2012 at 10:24 AM, ggardei <[hidden email]> wrote:
> Almost all of the borrowers were inputted through a CSV file so none of them
> have email preferences. Is there a script I can run that will automatically
> set the borrowers email preferences? I think we want them to be on by
> default.

After you define default messaging preferences for the patron
categories, the server-side script force-borrower-messaging-defaults
can be used to apply them to existing patron records.

Regards,

Galen
--
Galen Charlton
Director of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  [hidden email]
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

ggardei
Galen,


Thank you for your quick response, that sounds like what I need.
George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

ggardei
In reply to this post by Galen Charlton-3
i ran the script force-borrower-messaging-defaults however it did not appear to do anything. I looked at the borrower messaging preferences tables and they had not been populated .

when I ran the script it outputted a number count, and a patron type

0000-00-001: S
2: S
3: S
4: S
6: U
7: U
8: U
9: U
10: U
11: U
12: U
13: U
14: U
15: U
16: U
17: U


... yadda yadda .... all the way down to 530

George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

ggardei
In reply to this post by Melia Meggs-2
Thanks for all the help but I still having the errrors with the overdue_notices script

Use of uninitialized value in pattern match (m//) at /usr/share/koha/bin/cronjobs/overdue_notices.pl line 659.
Use of uninitialized value in pattern match (m//) at /usr/share/koha/bin/cronjobs/overdue_notices.pl line 670.
(repeats dozens of times)


I am getting second overdue notices, but sofar no first time overdue notices. Also, the fine isn't being displayed,

Examples

---

Overdue Items (Second Notice)

Dear Kate ODERO,

According to our current records, you have items that are overdue. Please return or renew them as soon as possible.


The following items are overdue:

 The lost art of disciple making  by Eims, LeRoy  Fine: USD Due on 2012-09-21 23:59:00

Please do not reply to this notification as it was automatically generated. If you have any question regarding this notification, please email library@gbs.edu.


----

The Overdue Notice Templates are

Dear <<borrowers.firstname>> <<borrowers.surname>>,

According to our current records, you have items that are overdue. Please return or renew them as soon as possible.


Here is the template

<item> <<biblio.title>> by <<biblio.author>>  Fine: <fine>USD</fine> Due on <<issues.date_due>> </item>


Please do not reply to this notification as it was automatically generated. If you have any question regarding this notification, please email library@gbs.edu.


George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Koha mail notifications

ggardei
I have not heard back on this post for a while. I am still having problems with the script (see preivous post) with the fines not displaying and the error meessage in the overdue notices script.
George W. Gardei (ggardei@gbs.edu)
IT CAMS Manager
God's Bible School & College
513-763-6516
1810 Young Street, Cincinnati OH 45202