The code only looks for the branchemail, and if there is none, it doesn't fall back to KohaAdminEmailAddress. To reproduce : - If your branches have emails, remove them - Make sure KohaAdminEmailAddress is filled - Go to ILL module - Create a request - Click on 'Place request with partners' - Click 'Send email' I get an error message 'Your library has no usable email address. Please set it.'
OK, this took a little digging: * The message is queued using EnqueueLetter * The $from parameter is passed explicitly here as: my $from_address = $branch->from_email_address; * And that has the fallback to KohaAdminEmailAddress: sub from_email_address { my ($self) = @_; return $self->branchemail || C4::Context->preference('KohaAdminEmailAddress') || undef; }