sending sms in sharepoint


  • Hi guys

    Any Idea how to send sms in sharepoint

    i want it to be as web part


    • Changed type Mike Walsh FIN Wednesday, February 18, 2009 5:12 AM Always use the Question type so people get credit for their responses
    Wednesday, September 17, 2008 2:33 PM

All replies

  • Hi there

    The answer to this is not as straightforward as the question. Firstly, do you have an SMS provider already, or are you planning on hosting an SMS gateway yourself?

    If the answer is no to both the above then you need to first determine how you are going to send the SMS once a process has created one.


    Wednesday, September 17, 2008 4:08 PM
  • No i don't have sms provider but am searching for one

    i found some codes on the net but they didn't help
    so can u help more
    thanks alllllooooooooot

    Wednesday, September 24, 2008 10:52 AM
  • You need a provider - or a way of actually passing the SMS onto a gateway. You can't really do anything else until you know how you will get the SMS into the airwaves!

    Once you have a provider they will usually have an API or a web service you can use to call their sending methods. Once you have this you can code a solution to sending the SMS, then the web part to pass the information to the service.


    Wednesday, September 24, 2008 2:18 PM
  • i found this sms provider
    they supported me with this code

    private void button1_Click(object sender, EventArgs e)
                string toPhoneNumber = toTextBox.Text;
                string login = fromTextBox.Text;
                string password = passTextBox.Text;
                string compression = subjectTextBox.Text;
                string body = bodyTextBox.Text;

                MailMessage mail = new MailMessage();
                mail.To = toPhoneNumber + "";
                mail.From = login + "";
                mail.Subject = compression;
                mail.Body = body;
                mail.Fields.Add("", "1");
                mail.Fields.Add("", login);
                mail.Fields.Add("", password);

                System.Web.Mail.SmtpMail.SmtpServer = "";

                /*set the addresses
                mail.From = new MailAddress("");

                //set the content
                mail.Subject = "This is an email";
                mail.Body = "this is a sample body";

                //send the message
                SmtpClient smtp = new SmtpClient("");

    but it didnt work
    Any ideas

    Monday, October 06, 2008 11:38 AM