SMS::Send::UK::Kapow

SMS::Send driver for the Kapow.co.uk website
Download

SMS::Send::UK::Kapow Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jeremy Jones
  • Publisher web site:
  • http://search.cpan.org/~jjones/

SMS::Send::UK::Kapow Tags


SMS::Send::UK::Kapow Description

SMS::Send driver for the Kapow.co.uk website The SMS::Send::UK::Kapow module provides a SMS::Send driver that delivers messages via the http://www.kapow.co.uk website.Messages for any country can be sent through this interface, although Kapow is generally aimed at users in the UK.SYNOPSIS use SMS::Send; my $sender = SMS::Send->new('UK::Kapow', _login => 'my-kapow-username', # normally required, see below (synonymous with _user) _password => 'my-kapow-password', # normally required, see below _send_via => 'http', # optional, can be http, https or email, default is http _http_method => 'get', # optional, the http method to use for http & https. # get or post, default post. _email_via => 'sendmail', # optional, for use when 'email' is used. can be # 'sendmail' or 'smtp' _url => 'http://foo.com/done' # optional url to call after sending, for http and https _from => 'me@mydomain.com', # optional, for use when 'email' is used in send_via _from_id => 'my-kapow-id', # optional message originator, if enabled for your account _route => '840101', # optional shortcode for premium sms reverse billing _wait => 0, # optional, supply a defined but false value to stop the # module from trying to confirm delivery. default true. ); my $sent = $sender->send_sms( to => '447712345678', # the recipient phone number text => "Hello, world!", # the text of the message to send _url => 'http://foo.com/done123', # optional url per message to call after sending # (for http and https) _from => 'me@mydomain.com', # optional from address per message (for email) _from_id => 'my-kapow-id', # optional message originator per message _route => '840101', # optional shortcode per message for reverse billing _wait => 0, # optional per message control of delivery checks. ); # Did it send to Kapow ok? if ( $sent ) { print "Sent test message "; } else { print "Test message failed "; } # What's the delivery status of the last message we sent? (available for http & https methods) my $status = $sender->delivery_status; # What's the delivery status for an arbitrary message we sent in the past? my $status = $sender->delivery_status($sent); Requirements: · Perl


SMS::Send::UK::Kapow Related Software