Skip to content

vikrantest/Rajiv-Py-SMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rajiv-Py-SMS

An easy to use Python module for sending SMS.....

This module currently supports sending sms through Way2Sms.

Pre-Requirements:

we need a python package called "mechanize" you can install it through easy_install mechanize or the other ways as shown here http://wwwsearch.sourceforge.net/mechanize/download.html

Usage:

from RajivPySms import RajivSmsModule

MyPager = RajivSmsModule()                              # create a object to use RajivSmsModule

MyPager.login(UNAME='7411129611',PWD='way2smsPassword') # fill your way2sms login and password

MyPager.set_signature(" ~ By Rajiv")                    # Signature will be appended with every sms

MyPager.send(   RECEIVER = "9952113011", 
                MESSAGE  = "Have a nice day & night..."
            )                                           

for the above sending command, the message sent will be look like

7411129611:
Have a nice day and night... ~ By Rajiv

Note:

  • your mobile number will be prepended with your message text
  • the '&' symbol will be changed to 'and'
  • the signature text will be appended with your message text

About

An easy to use Python module for sending SMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published