Bug 16247 - Attaching PDFs to New Patron E-mail
Summary: Attaching PDFs to New Patron E-mail
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 14:37 UTC by Jesse Lambertson
Modified: 2020-11-30 21:45 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Lambertson 2016-04-12 14:37:10 UTC
A while back, I asked on the listserv if anyone had experimented with writing a script that would attach a PDF to the New Patron data email when it goes out.
I am thinking specifically about attaching a PDF of library policies to that specific notification.

I still think this is a good idea.

I think it's helpful to be able to upload documents to patron records.
But it might be a good idea if we could also attach documents - at least standard documents to standard/default e-mails.


What kinds of tools, scripts or functionality would have to be added for this idea to be put into a future release?

Curious...
Thank you

Jesse
Comment 1 Katrin Fischer 2016-04-12 20:49:37 UTC
I am not opposed to this, but wondering if a link to a PDF wouldn't work better as a lot of people don't like 'big' emails or unexpected attachements.
Comment 2 Jesse Lambertson 2016-04-13 14:29:18 UTC
I can appreciate your comment, Katrin, re: evading big e-mails or attachments.

I am also fine with a link to a pdf instead of the document itself.

The document could either be hosted on our domain, in Google Drive or maybe even Dropbox in a public folder.
If that is the case, I guess it is just a matter of making a local decision to edit the "Account Details Template - DEFAULT" text.

Wow, that was easy.

But if I wanted to tinker...

Where should I begin?
What would it take to create this kind of new functionality of adding documents as attachments to default messaging?
At what level would this change need to be made?

Thank you.

Jesse
Comment 3 Katrin Fischer 2016-04-13 15:20:25 UTC
Hm, I think a first question would be "where to store it". Some of our current features store uploaded files in the database, the new featurew for adding files to bibliographic records stores in the file systems and requires a bit of additional setup. Both have advantages and disadvantages. But I guess a starting point could be to look at other features and how they do it. 
For the attachements... we do send attachements in case of overdues for users with no email addresses. Maybe drop by IRC to pick some brains or try on the mailing list for additional pointers.
Comment 4 Katrin Fischer 2020-01-11 11:22:10 UTC
I think this was solved with including a link for now - I think this will work well unless you want to send a PDF with content generated specifically for a transaction/patron. Moving WONTFIX for now.