[Koha-bugs] [Bug 31627] Add ability to embed the letter ID in outgoing email notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 31 22:00:17 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31627

--- Comment #9 from David Nind <david at davidnind.com> ---
I'm not seeing the letter id in the message - either in the preview of the
notice (Patron account > Notices) or in the message_queue.

Am I missing something from my setup?

Initially, I thought the letter id would show up in the preview for patron's
notices.

Here is what I did when testing using koha-testing-docker (KTD):
1. Applied the patch
2. Ran updatedatabase
3. Ran flush_memcached and restart_all
4. Enable SendLetterIdInEmailNotices
5. Setup so email could be sent in KTD using Gmail [1]
6. Added Gmail address to patron
7. Set up the patron messaging preferences so that the email option is selected
for item check-in and item checkout 
8. Checked out an item to the patron
9. Preview of notice is available under Patron account > Notices - no letter
id/or code
10. Checked what was in the database: select * from message_queue;
11. Processed the message queue: misc/cronjobs/process_message_queue.pl -v
12. No letter id in message received in mny inbox


[1] To setup KTD so that an email message can be sent using Gmail, add this to
/etc/koha/sites/kohadev/koha-conf.xml (where an app password is created for a
Gmail account and GMAILEMAILADDRESS and APPPASSWORD replaced as appropriate):

<smtp_server>
    <host>smtp.gmail.com</host>
    <port>587</port>
    <timeout>5</timeout>
    <ssl_mode>STARTTLS</ssl_mode>
    <user_name>GMAILEMAILADDRESS</user_name>
    <password>APPPASSWORD</password>
    <debug>1</debug>
 </smtp_server>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list