SMS::Send::DE::MeinBMW - An SMS::Send driver for the www.meinbmw.de website
This document describes SMS::Send::DE::MeinBMW version 0.06
use SMS::Send; # Get the sender and login my $sender = SMS::Send->new('DE::MeinBMW', _login => 'xx@yyy.de', # your email address _password => 'mypasswd', # your reqistered password from www.meinbmw.de ); # Send a message to ourself my $sent = $sender->send_sms( text => 'Messages have a limit of 160 chars', to => '+49 4 444 444', ); # Did it send? if ( $sent ) { print "Sent test message\n"; } else { print "Test message failed\n"; }
SMS::Send::DE::MeinBMW is an regional SMS::Send driver for Germany that delivers messages via the http://www.meinbmw.de.
You must register to use this FREE service for all BMW drivers.
guesses, what I drive for a car.
SEE and use the API of SMS::Send
The new constructor takes two parameters, which should be passed through from the SMS::Send constructor.
The params are driver-specific for now, until SMS::Send adds a standard set of params for specifying the login and password.
_login The _login param should be your emailaddress. That is, the emailaddress you regitered at www.meinbmw.de
_password The _password param should be your www.meinbmw.de password.
# Send a message to a particular address my $result = $sender->send_sms( text => 'This is a test message', to => '+61 4 1234 5678', );
The send_sms method sends a standard text SMS message to a destination.
send_sms
SMS::Send::DE::MeinBMW requires no configuration files or environment variables.
SMS::Send
None reported.
Parts of the code is stolen from Adam Kennedy's SMS::Send::AU::MyVodafone.
No bugs have been reported.
Please report any bugs or feature requests to bug-sms-send-de-meinbmw@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-sms-send-de-meinbmw@rt.cpan.org
Or contact the author.
Boris Zentner <bzm@2bz.de>
<bzm@2bz.de>
Fixes, Bug Reports, Docs have been generously provided by:
Oleg Fiksel
thanks!
Copyright (c) 2006, Boris Zentner <bzm@2bz.de>. 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.
To install SMS::Send::DE::MeinBMW, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::DE::MeinBMW
CPAN shell
perl -MCPAN -e shell install SMS::Send::DE::MeinBMW
For more information on module installation, please visit the detailed CPAN module installation guide.