F
Fazer
Hello,
Can anyone point me to a way on how to send a SMS message using Python?
Thanks,
Can anyone point me to a way on how to send a SMS message using Python?
Thanks,
Fazer said:Can anyone point me to a way on how to send a SMS message using Python?
Jarek Zgoda said:Use web gateway, like 1rstWap.com. I think it's simplest method.
Fazer said:Thanks, but how would I implement that? Any ideas?
Jarek said: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).
Peter Hansen said:Kind of defeats the value of suggesting that he use this as
a way of sending using Python, doesn't it?
Jarek Zgoda said: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).
Can anyone point me to a way on how to send a SMS message using Python?
Guenther Starnberger said:either use libicq2000[1] directly (but afaik there are no python bindings
yet), or setup a local jabber[2] server with an aim-transport[3] to which
you can connect with python by using jabberpy[4].
either use libicq2000[1] directly (but afaik there are no python bindings
yet), or setup a local jabber[2] server with an aim-transport[3] to which
you can connect with python by using jabberpy[4].
Shouldn't public Jabber server with AIM transport be sufficient? I never
tried such approach, but it sounds interesting since Jabber is getting
more and more audience here in Poland.
Peter Hansen said:Kind of defeats the value of suggesting that he use this as
a way of sending using Python, doesn't it?
Fazer said:Can anyone point me to a way on how to send a SMS message using Python?
Jarek said:Yes - if this should be service/daemon app and you don't have a user
that can perform prior registration.
No - if this will be usual GUI app with user equipped with monitor,
keyboard and mouse, sitting in front of it.
Guenther Starnberger said:Fazer wrote:
hello,
Can anyone point me to a way on how to send a SMS message using Python?
an alternative to the already suggested SMS-webgateway would be to use the
ICQ-SMS-gateway ('worldwide' SMSs, no advertisements).
either use libicq2000[1] directly (but afaik there are no python bindings
yet), or setup a local jabber[2] server with an aim-transport[3] to which
you can connect with python by using jabberpy[4].
cu
/gst
[1] http://libicq2000.sf.net/
[2] http://www.jabber.org/about/overview.html
[3] http://aim-transport.jabberstudio.org/
[4] http://jabberpy.sourceforge.net/
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.