NAME
SMS::Send::Orange::ContactEveryone - SMS::Send driver to send messages via ContactEveryone (www.orange-business.com/fr/produits/contact-everyone).
SYNOPSIS
use SMS::Send;
# Create a sender
my $sender = SMS::Send->new('SMS::Send::Orange::ContactEveryone',
ssl_opts => {
verify_hostname => 0,
SSL_verify_mode => 1,
SSL_cert_file => "/path/to/cert.pem",
SSL_key_file => "/path/to/cert.key"
}
);
# Send a message
my $sent = $sender->send_sms(
text => 'This is a test message',
to => '+61*****20'
);
DESCRIPTION
SMS::Send::Orange::ContactEveryone - SMS::Send driver to send messages via ContactEveryone (www.orange-business.com/fr/produits/contact-everyone).
This is not intended to be used directly, but instead called by SMS::Send (see synopsis above for a basic illustration, and see SMS::Send's documentation for further information).
METHODS
- new
-
Constructor, takes argument pairs passed by SMS::Send.
- send_sms
-
Send the message - see SMS::Send for details.
- xml_message
-
Build XML message to be sent to ContactEveryone.
AUTHOR
Alex Arnaud, <gg.alexarnaud@gmail.com>