Thursday 26 September 2013

Send SMS Using Twelio Rest api


1.You have to add .dll (web reference) of Twelio which easily available in Nuget(VS2010) 
2.Then use below code... 

public Twilio.SMSMessage GetEMPLOYEE_MASTER()
        {
           //send sms success

                string AccountSid = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
                string AuthToken = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

                var twilio = new TwilioRestClient(AccountSid, AuthToken);
              //  var message = twilio.SendSmsMessage("+15005550006", "+919033865290", "hello every body", "http://api/call?status=sent");
                var message = twilio.SendSmsMessage("+15005550006", "+919999999999", "hello every body", "https://api.twilio.com");
               
                string sts = message.Status;
                Type t = message.GetType();
                Console.WriteLine(message.Sid);

                           return message;
}




NOTE : AccountSid --> you can get from Twelio Account

       AuthToken --> you can get from Twelio Account

       +15005550006 --> Twelio Test case number  ....when you want to send realy sms than use twelio number which you can get from twelio account ..Its chargeble.

Tuesday 28 May 2013

  SMS SENDING VIA WAY2SMS

 

The Below Code is also useful for sending sms via way2sms.... 

Try That and if any query than post, we can find also another solution.... 

1.two textbox and one button

.cs

-----

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.IO;

public partial class sending_sms2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public void send(string uid, string password, string message, string no)
    {
  
 

        HttpWebRequest myReq =
       (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + uid + "&pwd=" + password +
       "&msg=" + message + "&phone=" + no + "&provider=way2sms");



        HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
        System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());
        string responseString = respStreamReader.ReadToEnd();
        respStreamReader.Close();
        myResp.Close();
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        //for (int i = 0; i < 10; i++)
        //{
            send("YOURUSERNAME","PASSWORD",TextBox1.Text,TextBox2.Text);
        //}
        ScriptManager.RegisterStartupScript(this, this.GetType(), "popup", "alert('sms sent successfully...');", true);

    }
}

Wednesday 1 May 2013

Paid solution for SMS Sending using your portal is also available .....


 Click Here :  Paid sms package for your portal

This service help also into WCF and  MVC

You have to tell WCF to use unity to instantiate your services. You can search online for what to do, or use this nice NuGet package called Unity.WCF. 


Article about Unity.
WCF http://www.devtrends.co.uk/blog/introducing-unity.wcf-providing-easy-ioc-integration-for-your-wcf-services

NuGet package:   http://nuget.org/packages/Unity.Wcf

Project home page with source code:  http://unitywcf.codeplex.com/

Saturday 10 November 2012

Mit Infotech


Business owners around the world recognize one important thing about running business - 'It's all about the customer'. Keeping customers happy is the primary objective of any business and the only way to get close to them is to be in constant touch with them. This will keep your brand entrenched in their mind and they will always come to your company over your competitors. Now, there is a faster way of keeping in touch with customers that is to Send SMS.
Sending an online SMS with an important business offer, written in the most savvy and crisp language can reach the hearts of millions of people. The biggest advantage of this feature is that you can send SMS is just seconds to thousands of people in a single day. The product or service that you are popularizing using SMS will reach so many people and you can expect results of such promotional actions in just a couple of days.
There are so many ways in which you can send Bulk SMS. You can send it through your computers system, else you can send it through email or through a website that offers such facilities for visitors. If you decide to send the SMS to your customer's mobile phones from your PC, you need to set up the system so that it can send these messages using a database that holds customer phone number records. This can be done by installing appropriate software that enable SMS broadcasting through the PC.
If you do not want to use any software, you can opt for email SMS, which enables you to send SMS from your email software in just a second. There is no need to install any special SMS sending software to get this process through. You can load your email software and send the SMS through it to all the phone number you feel need to receive the SMS. However, this form of SMS texting is limited in its range of functionalities. It is more suitable for sending to a single person rather than a group and hence the process of sending SMS will take longer.
An even better manner of sending SMS is Web SMS Online. This form of sending SMS is very easy as you just have to be online and log into the website that offers this service. Here is no need to use a specialized software to carry out this function, as the website will have a features necessary to carry out this function. You can send web SMS to as many people as you want in a single click. It's a pretty fast and efficient way to send text message online to all your customer phone numbers. You can also keep a track on the SMS and see that they have been actually delivered to the people for whom it is intended.
Sending SMS is one of the best ways to reach out to a large base of customers with a promotional offer, a new product release or a new service. The sending process is instant and hence you can get responses from customers very quickly. Using a highly professional SMS delivery service will enable you to reach out to so many people in a short while, without spending too much on promotional activities.

Article Source: http://EzineArticles.com/7246202

Friday 14 September 2012

Sending & Receiving SMS from ASP.NET application is nowadays integrate parts of enterprise web application specially in the domains of Healthcare, Hospitality, Insurance , Banking sectors where 24X7 available approach with customers are mandatory. In those respect , I have used a code in C# ASP.NET 4.0 using XML API (Purchased from Value-First SMS Provider) to send SMS from our web application to our clients randomly.

Thursday 13 September 2012


Welcome everybode, here we discuss about sending sms using asp.net. many developer wants to send sms in their website which is build using asp.net technologies. here i suggest way which send sms. sms intigration is the need of many coustmer so i provide this blog and code for it with the help of MIT INFOTECH. on below link you can get that code.
MIT INFOTECH