Sending SMS...
Fazer
faizan at jaredweb.com
Sun Sep 14 12:33:47 EDT 2003
Jarek Zgoda <jzgoda at gazeta.usun.pl> wrote in message news:<bk12hf$s98$1 at nemesis.news.tpi.pl>...
> Fazer <faizanNOSPAM at jaredweb.com> pisze:
>
> >> > Can anyone point me to a way on how to send a SMS message using Python?
> >>
> >> Use web gateway, like 1rstWap.com. I think it's simplest method.
> >
> > Thanks, but how would I implement that? Any ideas?
>
> Just send appropriately crafted HTTP request to the gateway's webserver
> using httplib. You should analyze page source to get some basic things
> like http field names and a name of script, where you should send your
> data (form action="script_name").
>
> Also, be aware, that 1rstWap.com (and many other free SMS web gateways)
> require prior user registration, that can not be handled by program
> (they show user some picture with text that need to be entered
> correctly).
Thanks for your reply. I thought I would have to use sockets but I
guess http would be easier.
More information about the Python-list
mailing list