Send Bulk SMS using ASP

Send Bulk SMS using ASP

Send SMS API using ASP

This is just an example SMS API code for ASP programming language, please make sure to sanitize data and other security aspects at the time of actual development.

Send Bulk SMS using ASP

Sample scripts are provided just for reference only, do not develop using the same code.

Download Text File

    <%
        username = "myusername"
        password = "password"
        apiurl = "https://www.smsgatewaycenter.com/library/send_sms_2.php?"
        message = "Hello World"
        message = Server.urlencode(message)
        mobile = "9xxxxxxxxxx"
        '10 digit number
        sendername = "SMSGAT"
        'My SMS Sender Name
        lang = "English"
        'Other for Unicode
        url = apiurl & "UserName=" & username & "&Password=" & password & "&To=" & mobile & "&Message=" & message & "&Mask=" & sendername &"&Type=Individual&Language=" & lang
        set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
        xmlhttp.open "POST", url, false
        'use GET for get method
        xmlhttp.send ""
        msg = xmlhttp.responseText
        response.write(msg)
        set xmlhttp = nothing
    %>

Go Back! SMS Developers API

Save this interesting page on your Favorite Social Media

Premium Bulk SMS Gateway

SMS Pricing

Receive a Call

Services

SMS Business Opportunities

Bulk SMS Know-how


Convinced? Get an estimate. Contact Now!