Lines 1335-1341
sub generic_confirm {
Link Here
|
1335 |
"No target email addresses found. Either select at least one partner or check your ILL partner library records.") |
1335 |
"No target email addresses found. Either select at least one partner or check your ILL partner library records.") |
1336 |
if ( !$to ); |
1336 |
if ( !$to ); |
1337 |
# Create the from, replyto and sender headers |
1337 |
# Create the from, replyto and sender headers |
1338 |
my $from = $branch->branchemail; |
1338 |
my $from = $branch->from_email_address; |
1339 |
my $replyto = $branch->inbound_ill_address; |
1339 |
my $replyto = $branch->inbound_ill_address; |
1340 |
Koha::Exceptions::Ill::NoLibraryEmail->throw( |
1340 |
Koha::Exceptions::Ill::NoLibraryEmail->throw( |
1341 |
"Your library has no usable email address. Please set it.") |
1341 |
"Your library has no usable email address. Please set it.") |
Lines 1427-1433
sub send_patron_notice {
Link Here
|
1427 |
# Notice should come from the library where the request was placed, |
1427 |
# Notice should come from the library where the request was placed, |
1428 |
# not the patrons home library |
1428 |
# not the patrons home library |
1429 |
my $branch = Koha::Libraries->find($self->branchcode); |
1429 |
my $branch = Koha::Libraries->find($self->branchcode); |
1430 |
my $from_address = $branch->branchemail; |
1430 |
my $from_address = $branch->from_email_address; |
1431 |
my $reply_address = $branch->inbound_ill_address; |
1431 |
my $reply_address = $branch->inbound_ill_address; |
1432 |
|
1432 |
|
1433 |
# Send the notice to the patron via the chosen transport methods |
1433 |
# Send the notice to the patron via the chosen transport methods |