Sending SMS using python script

G

guptha

hi group,
my application needs to send SMS occasionally to all the clients .Is
there any library in python that supports in sending SMS.
I like to conform few information i gathered in this regard.

I can send SMS by two ways

1. Sending SMS using Email clients
2. Using sms gateway to send message(we can implement SMS Gateway API
's ,provided by vendor and ,send SMS -- we will be charged
accordingly )

In case of First approach
1. We can make use of libgamil library to send SMS using gmail ( I
ref : http://blog.datasingularity.com/?p=63 )
i suppose sending sms through gmail is not supported in India
2. Can we use Skype4py library,

In case of second approach
1. Is there any way to send SMS for free inside India ,or ,Any free
SMS gateway providers in India
Any information regarding this is appreciable
Thanks
 
G

guptha

I use a programme, written in Python, which sends sms through the sms
providers. You might want to have a look to the source code:

http://www.moioli.net/Progetti___1/MoioSMS___Messaggi_GRATIS_da_Inter...

Thanks for your reply Matteo
It will be more helpful if you mention the concept of your programme.
i.e .How your programme works(I can't understand the posting from your
site - is not in English)

As for my knowledge on this subject i can say
1. The sms send by us will reach SMS center of the service provider
(example : Airtel , Vodofone etc)
2. Each service provider has their own SMS center
3. From SMS center the message reach to the recipient.

In this scenario how can i make use of service providers SMS center to
send my sms
Is it possible to write our own sms gateway in python to interact with
all type of sms centers.
Do we have pay any charge to access providers SMS center, or comes
free of cast.

i supposes Most of mobile carriers offer free Email To SMS gateways
which can be used to forward simple text emails to a mobile phones.
Thanks
 
M

Matteo

I don't really know, because I didn't write it myself ;)
I think it basically logs in into a service provider site with pycurl,
follows the right links, reads captcha's and writes an SMS, which is
then sent by the provider itself.

I can give you the direct link to the source code from the same site:
http://www.moioli.net/files/MoioSMS2.18-src.zip
 
B

Brent Bloxam

guptha said:
hi group,
my application needs to send SMS occasionally to all the clients .Is
there any library in python that supports in sending SMS.
I like to conform few information i gathered in this regard.

I can send SMS by two ways

1. Sending SMS using Email clients
2. Using sms gateway to send message(we can implement SMS Gateway API
's ,provided by vendor and ,send SMS -- we will be charged
accordingly )

In case of First approach
1. We can make use of libgamil library to send SMS using gmail ( I
ref : http://blog.datasingularity.com/?p=63 )
i suppose sending sms through gmail is not supported in India
2. Can we use Skype4py library,

In case of second approach
1. Is there any way to send SMS for free inside India ,or ,Any free
SMS gateway providers in India
Any information regarding this is appreciable
Thanks
While this may not be exactly what you want to do, I thought I'd offer
this as an alternative. MultiModem has a hardware product that works as
a GPRS modem (with either a serial or ethernet interface, see here:
http://www.multitech.com/PRODUCTS/Families/MultiModemGPRS/), allowing
direct access to standard AT commands. The modems require a regular SIM
card with an account setup for it. For our needs we got a basic plan
with unlimited SMS. This is after we went with a couple 3rd party SMS
gateways and found their delivery unreliable for our clients.

I've written a daemon in python called mmsmsd (multimodem sms daemon)
for their ethernet model (MTCBA-G-EN-F4). It queues messages via an HTTP
GET request, which are then handled by threads that maintain telnet
connections to the GPRS modems AT command interface. You can check out
the project here: http://code.google.com/p/mmsmsd/ (it's BSD licensed)

If you go this route, feel free to submit any bug reports or requests.
If anyone out there feels like doing a quick audit of the code, that
would be appreciated as well :) This is my first project with Python.
 
I

ISF (Computer Scientists without Frontiers, Italy)

hi group,
my application needs to sendSMSoccasionally to all the clients  .Is
there any library in python that supports in sendingSMS.
I like to conform few information i gathered in this regard.

I can sendSMSby two ways

1. SendingSMSusing Email clients
2. Usingsmsgateway to send message(we can implementSMSGateway API
's ,provided by vendor and ,sendSMS-- we will be charged
accordingly )

In case of First approach
1. We can make use of libgamil library to sendSMSusing gmail ( I
ref :http://blog.datasingularity.com/?p=63)
i suppose sendingsmsthrough gmail is not supported in India
 2. Can we use Skype4py library,

In case of second approach
1. Is there any way to sendSMSfor free inside India ,or ,Any freeSMSgateway providers in India
Any information regarding this is appreciable
  Thanks

A friend from India sent me this hint:

the following link can be explored further for sending SMS on pyS60
(python for symbian OS)
http://mobilenin.com/pys60/menu.htm

wkr,
Aldo
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top