how to send sms from asp.net application to mobile

Last post 12-04-2009 5:32 PM by muthukkumaran. 26 replies.

Sort Posts:

  • how to send sms from asp.net application to mobile

    12-08-2007, 2:48 AM

     hi to all,

    thanks in advance,

    please give me code for  sending  sms from asp.net  application to mobiles,

  • Re: how to send sms from asp.net application to mobile

    12-09-2007, 5:29 AM
    Answer
    • Member
      40 point Member
    • sayangh
    • Member since 02-17-2007, 1:06 PM
    • Hyderabad
    • Posts 18

    Hi,

    Basically you require a SMS Gateway through which you have to send your message, which would be a paid service to which you have to subscribe. My suggestion would be to create a common interface for mail, text messages etc which would contain methods like "SendMessage","ConstructMessage" etc and  implement those. Usually your application would require to consume a webservice provided by the gateway service, but I believe there are some other methods in practice as well. The following links might be of help to you -

    http://forums.asp.net/t/57735.aspx

    http://www.gotocode.com/art.asp?art_id=66  - contains the basic code structure

    You can download this free component and check it out (not sure about licensing terms, so read their terms if you want to use it commercially) - http://www.intellisoftware.co.uk/sms-gateway/dotnet-component/

    Sayan Ghosh
    My Blog
    Filed under: ,
  • Re: how to send sms from asp.net application to mobile

    12-20-2007, 2:58 PM
    • Participant
      853 point Participant
    • slavik118
    • Member since 01-17-2006, 5:19 PM
    • Posts 164

    This code works in Windows Mobile 6:

    SmsMessage sm= new SmsMessage("destination phone number","messagetext");
    sm.RequestDeliveryReport = true;
    sm.Send();

  • Re: how to send sms from asp.net application to mobile

    02-25-2008, 1:31 AM
    • Member
      2 point Member
    • ElaineGu
    • Member since 02-25-2008, 6:07 AM
    • Singapore
    • Posts 2

    hi, besides Microsoft Visual Studio 2008 and GSM modem, what kind of software or service do i need to buy or download to develop the pc-based SMS application?

     Waiting for ur reply. Thx!

    Elaine Gu from CHINA

    Filed under:
  • Re: how to send sms from asp.net application to mobile

    11-24-2008, 10:45 AM

    Hi this is manohar, i tried to send sms from the webservices (www.webservicex.net and www.webservicex.com) but this is not at all working properly.

     

     If you having the code to send sms from asp.net then please forwad me to manohar_vakkala@yahoo.com .

     

     

  • Re: how to send sms from asp.net application to mobile

    03-12-2009, 10:12 AM
    • Member
      153 point Member
    • chandradev1
    • Member since 11-19-2008, 9:50 AM
    • Bangalore(India)
    • Posts 131

    Hi friends

    did u get the working code for that sending sms ? could u send me that url ? i have to also implement in one project.

    Chandra Dev
  • Re: how to send sms from asp.net application to mobile

    04-23-2009, 6:22 AM
    • Member
      26 point Member
    • irisweb
    • Member since 04-17-2009, 1:25 PM
    • Posts 9
    Here is a good article on Sending SMS in C# using AT Command GSM Modem. There is a Sample Project for Download. If you need more information on this please feel free to ask to CodeGlobe Contributors
     
    http://codeglobe.blogspot.com/2009/02/sending-sms-in-cnet-using-gsm-modem-and.html
     
    Also there is AT Command Set of Sony Ericssion  
     
    http://codeglobe.blogspot.com/2009/02/at-command-set-for-sony-ericsson.html
     

  • Re: how to send sms from asp.net application to mobile

    05-04-2009, 9:58 AM

     Hi,

     I know an SMS gateway software, you can use it from .net.  It can be installed on a PC and it simplifies most of the tasks when you want to create such a solution. You need a GSM modem or IP connection for the sending. Here is the URL:

    www.ozekisms.com

  • Re: how to send sms from asp.net application to mobile

    05-05-2009, 12:50 AM
    • Member
      153 point Member
    • chandradev1
    • Member since 11-19-2008, 9:50 AM
    • Bangalore(India)
    • Posts 131

    yes. i have checked that link. i had solved that problem using "clickat tell" gateway. That is very nice. there is no need to install any software.

    Chandra Dev
  • Re: how to send sms from asp.net application to mobile

    05-05-2009, 8:53 AM
    • Member
      2 point Member
    • rahul5055
    • Member since 05-05-2009, 12:39 PM
    • Posts 1

    Hi Chandradev,

    i have to implement same application in my project, can you please send me the code.

    i am trying it from last week but not succed yet..

    thanx. 

     

     

  • Re: how to send sms from asp.net application to mobile

    05-07-2009, 5:43 AM
    • Member
      153 point Member
    • chandradev1
    • Member since 11-19-2008, 9:50 AM
    • Bangalore(India)
    • Posts 131

    Hi rahul

    That is so simple. At first time i also took so much time. But i solved that problem. Send me  email id i will send exact code.

     

    Chandra Dev
  • Re: how to send sms from asp.net application to mobile

    05-11-2009, 2:28 AM
    • Member
      6 point Member
    • GuruTL
    • Member since 05-09-2009, 5:38 AM
    • Posts 3

     Hi , Please tell me how to send an SMS from my application . What steps i need to take .....?Any free carriers in india ....?

  • Re: how to send sms from asp.net application to mobile

    05-11-2009, 7:09 AM
    • Member
      153 point Member
    • chandradev1
    • Member since 11-19-2008, 9:50 AM
    • Bangalore(India)
    • Posts 131

    hi

    For that you have to register on bulk sms service provider website.Then they will give API source code for developer and you will also get some free sms for testing. I have tested on "clickatell" website it is working.

     

    protected void Btn_send_Click(object sender, EventArgs e)

    {

    WebClient client = new WebClient();

    client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");

    client.QueryString.Add("user", "chandradev");

    client.QueryString.Add("password", "ALOSbn28");

    client.QueryString.Add("api_id", "3157247");

    //client.QueryString.Add("to", "919886003712");

    client.QueryString.Add("to", txtMobile.Text.ToString());

    client.QueryString.Add("text", txtText.Text.ToString());

    string baseurl = "http://api.clickatell.com/http/sendmsg";

    Stream data = client.OpenRead(baseurl);

    StreamReader reader = new StreamReader(data);string s = reader.ReadToEnd();

    data.Close();

    reader.Close();

    lbl_Msg.Text =
    "Message has been send sucessfully";

    txtMobile.Text = "";

    txtText.Text = "";

     

     

    }

     

    Chandra Dev
  • Re: how to send sms from asp.net application to mobile

    05-11-2009, 7:18 AM

     I found details on their webpage in connection with asp.net. You will find source code, prerequisites, schematic picture of the system, etc. - here: http://www.ozekisms.com/index.php?owpn=230

    Unfortunately I do not know any free carriers in India. 

  • Re: how to send sms from asp.net application to mobile

    05-11-2009, 8:42 AM
    • Member
      6 point Member
    • GuruTL
    • Member since 05-09-2009, 5:38 AM
    • Posts 3

     Thanks for the replay . How to get that API_ID .

Page 1 of 2 (27 items) 1 2 Next >