
SMS::Send::US::Verizon - SMS::Send driver for the text.vzw.com website

This document describes SMS::Send::US::Verizon version 0.0.1

use SMS::Send;
my $sender = SMS::Send->new('US::Verizon');
$sender->send_sms(
'to' => '202-555-2368', # ten digit, Verizon number
'text' => "You'll never believe me!", #
'_from' => 'phalliwell@charmed-gmail.com', #
'_callback' => '415-555-0198', #
'_subject' => '', # If specified, will appear after _from in parenthesis.
'_priority' => 1, # Use "1" for Urgent messages. Default is 0 for Normal messages.
) or _handle_sms_error( $@ );

Sends an SMS::Send message to Verizon US customers when used as the SMS::Send driver. This uses the Verizon web interface at https://text.vzw.com/customer_site/jsp/messaging_lo.jsp.
Uses 'to' and 'text' as per SMS::Send and additionally uses '_from', '_callback', '_subject', and '_priority'
Another way to send text messages to Verizon Wireless subscribers is by email. Send an email to xxxxxxxxxx@vtext.com where xxxxxxxxxx is the subscriber's 10-digit wireless number.

No authentication parameters necessary.
SMS::Send->new('US::Verizon');
If send_sms() returns true, then the return value is the Tracking ID or the message and the initial status of the send.
print $sender->send_sms( to => "4155550198", text => "Hi!" ); # Returns something like "MsgID5_ABCDEFGH - Sending your message" upon success.
This return value may change in format and/or text in future versions.
If send_sms() returns false then $@ is set to the error message.

'to' must contain 10 digitsThe value passed to 'to' does not have ten digits.
'_from', 'text', '_callback' and '_subject' combined must not be more than 160 charactersThe length of characters in '_from', 'text', '_callback' and '_subject' combined are too long. Message will be sent, but it will be truncated by Verizon.

SMS::Send::US::Verizon requires no configuration files or environment variables.

LWP::UserAgent, URI::Escape, SMS::Send::Driver

None known.

No bugs have been reported. Heavily reliant upon Verizon Wireless' web interface. A change there may break this.
Please report any bugs or feature requests to bug-sms-send-us-verizon@rt.cpan.org, or through the web interface at http://rt.cpan.org.

Karl Lohner <karllohner+sms-send-us-verizon@gmail.com>

Based on SMS::Send::US::TMobile by Daniel Muey <http://drmuey.com/cpan_contact.pl>

Copyright (c) 2007, Karl Lohner. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.