[Koha-bugs] [Bug 3150] Move emails for sending cart and list contents into notices tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 14 16:02:40 CEST 2022


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

--- Comment #103 from David Nind <david at davidnind.com> ---
Testing notes (using koha-testing-docker):

1. I ran through the test plan both before and after applying the patches.

2. After the patches are applied, remember to update the database! Otherwise,
the new notices are not added, and you get a warning in the log files:
 [2022/07/14 13:01:00] [WARN] No catalogue LIST letter transported by email at
/kohadevbox/koha/C4/Letters.pm line 583.
  [2022/07/14 13:07:33] [WARN] No catalogue CART letter transported by email at
/kohadevbox/koha/C4/Letters.pm line 583.

3. Enable basic email sending by adding this to the instance koha-conf.xml
(user_name = gmail address, password = app password set up for your account,
not your normal password):

<smtp_server>
    <host>smtp.gmail.com</host>
    <port>587</port>
    <timeout>5</timeout>
    <ssl_mode>STARTTLS</ssl_mode>
    <user_name>youraddress at gmail.com</user_name>
    <password>yourapppassword</password>
    <debug>1</debug>
 </smtp_server>

4. Added an email address to koha user, added email addresses for
KohaAdminEmailAddress and ReplytoDefault (not sure if this was required).

5. Before the patch was applied, steps 3 and 4 were sufficient for the lists
and cart contents to be sent to the email address.

6. After the patches are applied, the messages are now put in the message queue
(koha-mysql kohadev, then select * from message_queue;).

7. To send the messages so you can review them in your email client, run
misc/cronjobs/process_message_queue.pl

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


More information about the Koha-bugs mailing list