Bug 22086

Summary: Birthday Wishes email to patron
Product: Koha Reporter: Vinod <mishravk79>
Component: NoticesAssignee: Amit Gupta <amitddng135>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: new feature    
Priority: P5 - low CC: amitddng135, andrew, caroline.cyr-la-rose, cbrannon, cornejo.alvaro, dubyk, eb, gmcharlt, jonathan.druart, kyle.m.hall, mik, mishravk79
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Vinod 2019-01-09 18:07:19 UTC
Dear All,

We are sending a lot of alert messages through Koha like book renewal, hold, overdue, etc. So how can we make this possible to send birthday wishes from Koha?

The system should match the Koha server date with patron birthday record/field and send a wish as per library defined format like other email alerts?

The case may be similar to already available email alerts to patron before their account expire in system.
Comment 1 Vinod 2019-01-10 04:59:24 UTC
Requirements:

Nowadays clients send Birthday Wishes through SMS/email alerts from Banks or other organizations on their Birthday. It makes the clients feel happy due to personalize the message on a specific day. The library may also send the same to bring patrons close to the library and build good repo about librarians.

Test:

1. Patron fields already contain the date of birth field in their data entry module
2. The system may regularly check the date of birth field and if a match with server date is found a Birthday message should deliver.
3. The message content should be customizable like other email alert service
4. There should be an option to use or not to use this option

Hope the above idea is good and it is possible to do similar to sending the message alert before the expiry of the patron registration date.
Comment 2 Amit Gupta 2019-01-10 06:06:50 UTC
I am interested to develop this patch.
Comment 3 Jonathan Druart 2019-02-15 00:09:32 UTC
If you are searching for developers you can use the "Change sponsored?" to "Seeking developer".
Comment 4 Christopher Brannon 2019-04-06 17:53:38 UTC
I like this idea too.  Would also like to see a highlighted alert on the staff side, and the same birthday message displayed when a patron logs in to the OPAC.
Comment 5 Katrin Fischer 2019-04-07 22:26:04 UTC
Hi all, I think libraries here would be a bit critical about a feature like this (GDPR, patron privacy concerns), so it would be great if we could make this driven by a system preference.
Comment 6 Christopher Brannon 2019-04-08 14:11:58 UTC
I had assumed that a preference would be a given, as with anything else.
Comment 7 Vinod 2019-04-08 16:16:01 UTC
I think we may provide option to patrons as well either to receive birthday message or not like other messages book transaction message.
Comment 8 Elaine Bradtke 2020-11-04 18:07:48 UTC
I agree patrons should have the ability to opt out.  Some people find these messages annoying.
Comment 9 Michael Kuhn 2020-11-04 19:02:52 UTC
In my opinion birthday wishes (if taken seriously) are something personal. So you can't order a program to congratulate people automatically. Unless in very special cases I would consider this plain Spam that noone has waited for - except the possible sender. However, I also agree patrons have to have the ability to opt out.
Comment 10 Katrin Fischer 2020-11-04 19:21:45 UTC
Of course this should be an optional feature, but what we think is not a good idea from our own context is maybe something very common or even expected somewhere else.
Comment 11 Caroline Cyr La Rose 2020-11-06 14:30:30 UTC
Wouldn't the patron emailer cron job work for this?
Comment 12 Alvaro Cornejo 2020-11-13 04:35:39 UTC
I´ve created a script in perl that sends birthday emails using a report that provides patron info to script. It shall run daily in a cronjob.
See 
https://wiki.koha-community.org/wiki/Scripts_Library#Send_birthday_greetings_to_patrons
Comment 13 Andrew Fuerste-Henry 2021-01-15 18:16:47 UTC
(In reply to Caroline Cyr La Rose from comment #11)
> Wouldn't the patron emailer cron job work for this?

Yeah, the patron emailer could totally do this. A dedicated process just for birthday notices could be simpler to use than the patron emailer, but this is doable now.
Comment 14 Andrew Fuerste-Henry 2021-01-15 18:23:15 UTC
(In reply to Caroline Cyr La Rose from comment #11)
> Wouldn't the patron emailer cron job work for this?

Yeah, the patron emailer could totally do this. A dedicated process just for birthday notices could be simpler to use than the patron emailer, but this is doable now.