Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#ASP.NET
hello,
I working on E-commerce website. I want to send a message on customer's mobile after order completion.
I have used many solutions but not succeed. Please tell me a best solution.
Posted 15-Dec-12 1:16am
Edited 2-Jan-13 23:07pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hai, i give a suggestion..
 
here u add uid=(Your mobile number)
pwd=(way2sms pwd)
msg=(Your Text) in this coding i used "Testing of my project"
And also you can add namespaces
"using System.Net.Mail;
using System.IO.Ports;
"
try this it will surely helps you...
Have a happy day!!
string Address = "http://ubaid.tk/sms/sms.aspx?uid=9876543210&pwd=sample &msg=Testing of my project &phone=" + TextBox3.Text + "&provider=way2sms";
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Address);
            WebResponse response = null;
            StreamReader reader = null;
            response = request.GetResponse();
reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
            string result = reader.ReadToEnd();
            reader.Close();
            if (result == "1")
            {
                Label8.Text = "Mail and Sms has Sent ";
                          
                          (or)
    
                Response.Write("SMS sent successfully");
               
            }
  Permalink  
v3
Comments
Member 9460399 at 4-Oct-13 1:51am
   
Here any header files are used? i use that code and sms send. but that number not received. i do in asp.net with vb. i import the header file as import syste,.web.ui.mobilecontrol that package not import in my program. what can i do.. any body know answer please mail to me frndz.... mail id: aravindraj.raj144@gmail.com
Member 10337557 at 18-Oct-13 8:59am
   
Compiler Error Message: CS0246: The type or namespace name 'HttpWebRequest' could not be found (are you missing a using directive or an assembly reference?)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

1) You can send sms via a SMS service provider which provides API to send sms from your code and takes some charges.
 
2) You can send sms via "GSM MODEM" in which you can insert YOUR PHONE SIM CARD and it will send sms via your sim card.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

contact any bulk sms provider... (search on google you will find many bulk sms providers)
 
purchase an account.
they will provide you API
follow it...
 
Happy Coding!
Smile | :)
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 480
1 Tadit Dash 305
2 Sergey Alexandrovich Kryukov 250
3 Peter Leow 190
4 OriginalGriff 163
0 Sergey Alexandrovich Kryukov 9,435
1 OriginalGriff 5,498
2 Peter Leow 4,230
3 Maciej Los 3,540
4 Abhinav S 3,353


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid