SMS from the O2 network with perl

This script is intended for customers of O2 Germany that have an account at www.o2online.de. These are able to send SMS via the WWW gateway at less cost (EUR 0.12/message). o2-sms.pl brings this service down to your UNIX shell.

ATTENTION! (2006-06-04) I released a very early beta update of o2-sms.pl to make it work again. Find it here and be prepared for final release hopefully within the next few weeks.

Features

  • sends SMS to ALL german cellphone networks and text-to-speech messages to wired recipients - now you can reach nearly everyone
  • supports Flash SMS
  • fakes user-agent by selecting one out of currently 10 "real" agents (IE, Mozilla, Opera et al.)
  • very fast and reliable message delivery
  • can be modified to use with other networks
  • fully emulates a web user filling in the HTML form

Prerequisites

  • a PERL distribution
  • URI::Escape
  • LWP::UserAgent
  • Crypt::SSLeay (for perl HTTPS capability)
  • HTTP::Request::Common
  • HTTP::Cookies

Disclaimer

Please note: I'm using this script for the delivery of exactly one message per day. It is not intended for mass delivery - this is strictly forbidden by O2 Germany. You should be aware of this - and remember: you will be charged with EUR 0.12 for each sent SMS!

YOU are FULLY responsible for what you do with this script!

Download

The script is available for download here!

Code

not available at the moment, please download directly (see above)