[Koha-bugs] [Bug 22821] New: Patron notes about item email notification fallback order is incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 1 17:31:48 CEST 2019


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

            Bug ID: 22821
           Summary: Patron notes about item email notification fallback
                    order is incorrect
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

In bug 19496 a fallback order for the email addresses (both to and from) was
added. This fallback order appears to be incorrect per my understanding of the
system preferences.

> my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->ReplytoDefault || C4::Context->preference('KohaAdminEmailAddress');

My understanding is that branchemail is used for the 'from' address in emails
from the branch, however it may not be an address which is accessible by the
librarians (as to be allowed through spam filters for most popular email
service the 'from' address domain has to match the domain of the sender
server).. as such 'reply-to' address was added to allow for a library to send
'from' a proper domain but have 'replies' go to an email address they control.

> my $from_address = $patron->email || $patron->emailpro || $patron->B_email;

We cannot spoof send emails from the patrons email address for the same reasons
as outlined above. The email must come from the koha system but may happily
contain the above fallback in the reply-to header to achieve what I believe is
wanted.

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


More information about the Koha-bugs mailing list