[Koha-devel] Suggestion requested regarding sending SMS

Indranil Das Gupta indradg at gmail.com
Tue Apr 21 10:28:13 CEST 2015


Hi all,

I would like to know if the recommended way to handle the
SMSSendUsername / SMSSendPassword in SMS.pm is by adding them as local
prefs?

# Create a sender
my $sender = SMS::Send->new( $driver,
                             _login    =>
C4::Context->preference('SMSSendUsername'),
                             _password =>
C4::Context->preference('SMSSendPassword'),
                        );

thanks

-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org


More information about the Koha-devel mailing list