]> git.koha-community.org Git - koha.git/commit
Bug 10621: use correct from-address for subscription alert emails
authorMirko Tietgen <mirko@abunchofthings.net>
Tue, 23 Jul 2013 21:24:11 +0000 (23:24 +0200)
committerChris Hall <followingthepath@gmail.com>
Tue, 17 Sep 2013 07:52:07 +0000 (19:52 +1200)
commit1c19a49dd4163ee0d29d51fa1ce8661245f74272
treefab9f43c529c96ed2d0f53f3a6cd90217ddc663b
parent06f5c1219a041f6b23051503abdbe0fb478405e2
Bug 10621: use correct from-address for subscription alert emails

From-address and to-address were the same (patron's email) for
subscription alerts. This patch changes 'from' the branch or
kohaadminemailaddress

To test
- add a subscription in staff/serials in case you don't have any
- enable patron notifications or the subscription
- in the OPAC, subscribe to the serial
- in staff/serial, receive an issue of the serial

Before applying the patch, the email that is supposed to be sent
has the patron's email as 'from' and 'to' (and is likely to fail).

If you follow the steps after applying the patch, the email alert
should have the 'from' address of the patron's branch or
kohaadminemiladdress -- which should also work fine with the MTA/SMTP
you have set up for messaging.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 61fa246ac06d637d50c8eed68244f0577ed34e4d)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 75b31bb5cf4a6269dedeb95be374b654fe4b5091)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 75b31bb5cf4a6269dedeb95be374b654fe4b5091)
Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit eaefa5daf65161c9f7c99ab1340bbc97075450e6)
C4/Letters.pm