return $self->marcorgcode || C4::Context->preference("MARCOrgCode");
}
+=head3 inbound_email_address
+
+ my $to_email = Koha::Library->inbound_email_address;
+
+Returns an effective email address which should be accessible to librarians at the branch.
+
+=cut
+
+sub inbound_email_address {
+ my ($self) = @_;
+
+ return
+ $self->branchreplyto
+ || $self->branchemail
+ || C4::Context->preference('ReplytoDefault')
+ || C4::Context->preference('KohaAdminEmailAddress')
+ || undef;
+}
+
=head3 library_groups
Return the Library groups of this library
branchurl => 'url',
issuing => undef,
branchip => 'ip',
- branchprinter => undef,
branchnotes => 'notes',
marcorgcode => 'marc_org_code',
};