Pastebin

Paste #1544: sms

< previous paste - next paste>

Pasted by chrivers

Download View as text

        url      = self.config_get_string("sms_gateway_url",      default = "https://mobile.1255.dk/sms/send")
        username = self.config_get_string("sms_gateway_username", require = True)
        password = self.config_get_string("sms_gateway_password", require = True)
        appnr    = self.config_get_string("sms_gateway_appnr",    default = "1255")
        data = {"user" : "sdo", 
            "password" : "xxxxxx",
            "appnr" : "1255",
            "price" : "0.00DKK",
            "to" : msisdnto,
            "from" : msisdnfrom,
            "test" : testv,
            "text" : content}
        res = self.http_post(url, data)

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.