Tuesday, 29 December 2015

How to send SMS via Asp.Net Application

sms2

 In this article I will explain how to send Free single/bulk SMS through Asp.Net Application.

   There are many websites that allow sending free messages such as Way2sms, FullOnSMS, 160by2, Site2SMS, IndyaRocks.com SMSAbc.com, Ultoo.com, SmsSpark.com SMSFI.com Freesms8, Sms440, BhokaliSMS, etc.

   I will explain it with the help of Site2SMS which uses the online API from Mashape.com.


Getting Started:
 
Step 1: You have to first register yourself on Site2SMS from where you will get the UserName & Password.

Step2: Now register at Mashape.com, you have to create a sample application at Mashape.com for which you will get an API key. For help go to following link, How-to-generate-Mashape-API-Key
 
Step 3: Now as you have the API key, lets create the application, write the following HTML to create the Form:
 
  1. <table>
  2. <tr>
  3. <td>
  4. Your Number:
  5. </td>
  6. <td>
  7. <asp:TextBox ID="txtNumber" runat="server"></asp:TextBox>
  8. </td>
  9. <td>
  10. <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

  11. ErrorMessage="Required"
  12. ControlToValidate="txtNumber" ForeColor="Red"></asp:RequiredFieldValidator>
  13. </td>
  14. ....
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, java questions and answers forum about the topic described above "How to send SMS via Asp.Net Application". You can also learn much more about different programming technologies and can enhance your tech skills.

No comments:

Post a Comment