<<

NAME

C4::SMS - send SMS messages

SYNOPSIS

my ( $success, $error ) = C4::SMS->send_sms( { message => 'This is my text message', destination => '212-555-1212' } );

DESCRIPTION

A wrapper for SMS::Send.

Can use a yaml file for config, the path to which is in the koha-conf.xml <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config>

Each file needs to be in the format of __KOHA_CONF_DIR__/sms_send/<driver>.yaml

For example for SMS::Send::UK::Kapow the config would be

/etc/koha/sites/instancename/sms_send/UK/Kapow.yaml for package install or /etc/koha/sms_send/UK/Kapow.yaml for tarball

A underscore character is prepended to all parameter names so they are treated as driver-specific options (leading underscore must not appear in config file).

METHODS

send_sms

driver

<<