diff --git a/opac/opac-issue-note.pl b/opac/opac-issue-note.pl index e24e80024b..3e7f0a1111 100755 --- a/opac/opac-issue-note.pl +++ b/opac/opac-issue-note.pl @@ -81,7 +81,7 @@ if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) { }, ); - my $to_address = $branch->get_effective_email; + my $to_address = $branch->inbound_email_address; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({ diff --git a/opac/svc/checkout_notes b/opac/svc/checkout_notes index 60adf6dccf..7814953f36 100755 --- a/opac/svc/checkout_notes +++ b/opac/svc/checkout_notes @@ -91,7 +91,7 @@ if ($is_ajax) { }, ); - my $to_address = $branch->get_effective_email; + my $to_address = $branch->inbound_email_address; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({