Use the get_effective_email from Koha::Library to get an appropriate
inbound address for the branch as aposed to using branchemail directly.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
letter => $letter,
borrowernumber => $borrowernumber,
message_transport_type => $transport,
- to_address => $library->branchemail,
+ to_address => $library->get_effective_email,
reply_address => $reply_address,
});
}