Wednesday, February 16, 2011

Sending an SMS Message with ASP.NET

For Send SMS Through Code:

C#.net:

Step 1: Add Web Reference :
        http://www.spiritssoft.com/webservice/sendway2sms.asmx
Step 2: Add This "using com.spiritssoft.www;"
Step 3: Create a Object "SendWay2Sms smsobj = new SendWay2Sms();"
Step 4:
        string strResult = smsobj.sendSmsSpiritsSoft("UserName", "Password", "Number", "message");
  
    strResult  : Recieving the Result from Webservice

Note:
     - For Group SMS , Number seperated by commas(,).
     - Message should be Only 125 characters,
     - If No username , password form way2sms.com it will send message
       through Spirits Soft Technology Default Number.

2 comments:

  1. i m using this code no error occure but still not receiving message

    ReplyDelete

  2. To select the best bulk SMS API available in the market I would suggest you go for Msgclub SMS platform where they have their bulk SMS API available in many programming languages like PHP, Java, .Net and more

    ReplyDelete