<filename>speedexcourier/generalzone/smssender.py
from urllib.request import urlopen,Request
from urllib.parse import urlencode

user="BRIJESH"
key="<KEY>"
senderid="PRVRTN"
accusage="1"

def sendsms(mobile,message):
    values={
        'user':user,
        'key':key,
        'mobile':mobile,
        'senderid':senderid,
        'message':message,
        'accusage':accusage
    }
    url="http://sms.bulkssms.com/submitsms.jsp"
    postdata=urlencode(values).encode("utf-8")
    req=Request(url,postdata)
    response=urlopen(req)
    response.read()

<filename>speedexcourier/generalzone/smssender.py
from urllib.request import urlopen,Request
from urllib.parse import urlencode

user="BRIJESH"
key="<KEY>"
senderid="PRVRTN"
accusage="1"

def sendsms(mobile,message):
    values={
        'user':user,
        'key':key,
        'mobile':mobile,
        'senderid':senderid,
        'message':message,
        'accusage':accusage
    }
    url="http://sms.bulkssms.com/submitsms.jsp"
    postdata=urlencode(values).encode("utf-8")
    req=Request(url,postdata)
    response=urlopen(req)
    response.read()
