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: oleon...@myacpl.org
          Reporter: martin.renvo...@ptfs-europe.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to