NAME

SMS::Send::DE::MeinBMW - An SMS::Send driver for the www.meinbmw.de website

VERSION

This document describes SMS::Send::DE::MeinBMW version 0.06

SYNOPSIS

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";
}

DESCRIPTION

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.

INTERFACE

SEE and use the API of SMS::Send

new

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_sms

# 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.

CONFIGURATION AND ENVIRONMENT

SMS::Send::DE::MeinBMW requires no configuration files or environment variables.

DEPENDENCIES

SMS::Send

INCOMPATIBILITIES

None reported.

THANKS

Parts of the code is stolen from Adam Kennedy's SMS::Send::AU::MyVodafone.

BUGS AND LIMITATIONS

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.

Or contact the author.

AUTHOR

Boris Zentner <bzm@2bz.de>

CREDITS

Fixes, Bug Reports, Docs have been generously provided by:

Oleg Fiksel

thanks!

LICENCE AND COPYRIGHT

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.

DISCLAIMER OF WARRANTY

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.