How to Send SMS With ASP

This guide is a guide provided by our iSMS Malaysia Team. You will be given information on how to add SMS functionality to your website and how to send sms with ASP code. This method uses HTTP communication between the SMS Gateway and your website. To send and receive SMS messages from a webpage, you will need to have scripting support enabled on your webserver. Below are some examples using ASP scripting.

To understand more about our iSMS API Key features, please visit our Developer API page.


All available features and configurations will be displayed at the iSMS Developer API page. Integrate our SMS API into your ASP.NET application and enjoy our SMS services.

Please click below to find out about other programming language samples.


1. Firstly, register a username and password from iSMS Register Page.


It only requires a few information from you such as username, password and your mobile number. It is free.


After you have register an account, you will need to purchase some credit from iSMS Reload Page, you will receive an email containing the reload PIN if you purchase for the first time.


However, if you purchase more than once, the account is automatically credited. Login to iSMS website and insert the PIN.



2. Now you are ready.


Create a file called api_post.php in your host and paste the code below.

<%
                 type = 1
                 sendid = 123456
                 message = "Hello this is a test message"
                 message = Server.urlencode(message)                        
                 from = "SMS"
                 address = "https://www.isms.com.my/isms_send.php"
                 uname = "yourusername"
                 pword = "yourpassword"
                 selectednums = "yournumber"
                 url = address & "?un=" & uname & "&pwd=" & pword & "&msg=" & message &_
                    "&from=" & from & "&dstno=" & selectednums & "&type=" & type &_
                    "&sendid=" & sendid
                  
                 set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
                 xmlhttp.open "POST", url, false
                 xmlhttp.send ""
                 msg = xmlhttp.responseText
                 response.write(msg)
                 set xmlhttp = nothing
               %>


Other Contact Methods

For further enquiries, please contact us via our contact page or the information below:

E-mail | sales@mobiweb.com.my

Note to registered users: Please include your Username in the email.

If operators are busy, please call the next number below.


Phone Numbers:

  • 1800 87 7061 (Malaysia Toll Free)
  • +604-642 0621 (Penang, Malaysia)
  • +603-2780 3880 (Line 1 Kuala Lumpur, Malaysia)
  • +603-7980 1388 (Line 2 Kuala Lumpur, Malaysia)
  • +6017-9713727 (Kelantan, Malaysia)
  • +6017-511 8885 (Johor Bahru, Malaysia)
  • +65 8301 0483 (Singapore)
  • +66 2026 0321 (Thailand)
  • +63 9212 358008 (Philippines)
  • +612 8310 5560 (Australia)

Fax:

  • +604-646 8367 (Penang, Malaysia)
  • +603-7980 2388 (Kuala Lumpur, Malaysia)



Articles

 

SMS Coverage for All Countries Worldwide

A B C D E F G H I J K L M N O P Q R S T U V Y Z
divider