Koha::SMTP::Server - Koha SMTP Server Object class
$server->store;
Overloaded store method.
my $transport = $smtp_server->transport; $email->transport($transport); $email->send_or_die;
Returns an Email::Sender::Transport::SMTP::Persistent object that can be used directly with Email::Sender.
my $libraries = $smtp_server->libraries
Accessor to get the list of libraries that are linked to this SMTP server
if ( $smtp_server->is_system_default ) { ... }
Method that tells if a Koha::SMTP::Server is the hardcoded one.
my $json = $smtp_server->to_api;
Overloaded method that returns a JSON representation of the Koha::SMTP::Server object, suitable for API output.
This method returns the mapping for representing a Koha::SMTP::Server object on the API.
Return type of Object relating to Schema ResultSet