.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Sending of sms from asp.net

Posted By:Gowthammanju       Posted Date: June 16, 2011    Points: 200    Category: ASP.NET    URL: http://www.dotnetspark.com  

This article explains you about sending of sms from asp.net pages to mobile via www.way2sms.com
 

Hi

This article explains you about sending of sms from asp.net pages to mobile via www.way2sms.com


through this article user can send message to any mobiles which are inside the india.....


just follow the below steps:

step 1: Create the user account in here

step 2: Now open a new website in microsoft visual studio .net and name as you like

Step 3:Now Do design as shown in below code and image

place it inside the form tag of the body.

Sending of sms to mobile through asp.net


Mobile No. :
Mobile Password :
To Mobile No :
Message : 
                                                       

step 4:In the send button click event  type the coding as

try
        {
            sms.Attributes.Add("Src", "http://ubaid.tk/sms/sms.aspx?uid=" + TextBox1.Text + "&pwd=" + TextBox2.Text + "&msg=" + TextBox4.Text + "&phone=" + TextBox3.Text + "&provider=way2sms");
            Response.Write("mail sucessfully sent to '" + TextBox3.Text + "'!!!  kindly check ur phone ");
            Panel1.Visible = false;
            Button1.Visible = false;
        }
        catch (Exception ex) { Response.Write(ex.Message); }

Step 5:

In the textbox 1 assign the username correctly which you created on the registration form at first step .

Step 6:

In the textbox 2 assign the password correctly which you created on the registration form at first step.

note: If u have account already you can directly assign the www.way2sms username and password here

step 7:Then type the number and text to whom you want to send sms in textbox3 and textbox 4.


u will find page as

step 8:Click the send button.

u will find solution as



finally check your phone 

u will receive the text message  through asp.net


enjoy.......!

happy codings......

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend